-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ def channel | |
end | ||
|
||
def channel_params | ||
params = params.permit!.to_s | ||
params.permit!.to_s | ||
end | ||
|
||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,5 @@ def attachments_buffer_check | |
created_by_id: created_by_id, | ||
) | ||
end | ||
attachments_buffer = nil | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dominikklein
Collaborator
|
||
end | ||
end |
@rolfschmidt @mantas @mgruner I'm not sure if this was good. I have the situation during an import when an article is updated the
attachments_buffer_check
runs twice.First time for this situation:
This is because of the code inside the
def attachments=(attachments)
method.And then after the real save:
instance.save!