Skip to content

Feature/attached files/backend#31

Open
Leenday wants to merge 2 commits intofeature/sidekiqfrom
feature/attached_files/backend
Open

Feature/attached files/backend#31
Leenday wants to merge 2 commits intofeature/sidekiqfrom
feature/attached_files/backend

Conversation

@Leenday
Copy link
Owner

@Leenday Leenday commented Jan 12, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Jan 12, 2023

Uffizzi Preview Environment

☁️ https://app.uffizzi.com//github.com/Leenday/task_manager/pull/31

⚙️ Updating now by workflow run 3931050589.

What is Uffizzi? Learn more

@Leenday Leenday force-pushed the feature/attached_files/backend branch from 1e2befe to ff5f8a6 Compare January 15, 2023 16:44
@Leenday Leenday force-pushed the feature/attached_files/backend branch from ff5f8a6 to 2a0a4e2 Compare January 16, 2023 13:53
attachment_params = {
image: attachment[:image],
crop_x: attachment[:crop_x],
crop_y: attachment[:crop_y],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

небезопасно использовать параметры напрямую. нужны strong params

end
end

def image_url
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI если добавляется кастомный атрибут, лучше его объявлять в виде

attribute do 
...
end

@@ -1 +1 @@
KKKUi8kqBT8qSJ39419AA3r2cQyQGUZLoJL83tOmIjGs5rfE+eNtghuEkO1s9sJ7wzW3mjdydHuRmcfE1Ic+1eidQZ4H/dwfb3EPJ6Ud8nO4Tn1EqAGrkCcZWEgTPRjIlVs+kmhq4VQcwkVHN0bfGXDoTKP5qCiaqdgjOPfnklaJ2jxeUfq1OoXQbwGgrVYB45b+r5RWOOJT+QwG2ddc1cJ7BzcFgipe9/bmVYdw84o4M5EQPr1FBc3eeqjPkMm0/f79R7iSg8F/ZlwUEBBGInrpGVJRffNJ+JDVDKrEXldf4+Lzhd2Hicvy/8cm6IGBEH/j96ksFw+Nv/hYSZ7bfTp046Pu2eU/Z4d0cz8VPGTC756NYecZaaesyHvLnbhBYWepDW8zASbdRMqcrv5zcoQ/Xhl07piPm1WK--eY0CL0IB0ObUsd/B--r2bkypAoIvjzNdkCloiTkQ== No newline at end of file
B8MkR7d7vVYwQr6sXYNpq5WLcGREgNVIWI2EjR7Sz9xV6Q04s+v/GQZiKfWgOQuFFOuInVQi94I2c/NV35s+9LIbQqt1gEaeZS8JaP6//RrKf2FJXzIs2pxuYEU/G2nkPTkQnHWaBz1ZJPJImq209bCa7wu57p6mrY+zk4wjn/C89eKiGgtFaw1QAYbWSJe6cNHCQEeAsNZR9whIi73eaPdDAIeLU4FFmGo8zsS087H462xPUm+UWCYMY62oWDEAhN9h2yoksj6DtVeQAZwbyclxK9Fo42wFR0V/b1PXaL++Farjr4Pwhhdf7pkXxLAWYmYCiWbQi81catnbYtXu4oLjml++JjPGajvov/k5ceqnq3muHSTk68IALIKhiwCRWs6mugfCU7m+sRaEMhPRwdLPT7ZAQZFzAeaO--3Xv+VSAo81kv6uFz--Gr4WW6P2xyb2D/WnxKmlyw== No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

креды не хранят в открытом доступе

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants