You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your project with Embed documents
If I update embed document inside parent with with_lock it is not updated while saving parent
Parent embeds_many children. I take first of array and modify it with parent option
#self.with_lock do
child.status = 2
parent.option = 4
parent.save!
#end
I works with comment, but does not work without
The text was updated successfully, but these errors were encountered:
I am trying to use your project with Embed documents
If I update embed document inside parent with
with_lock
it is not updated while saving parentParent embeds_many children. I take first of array and modify it with parent option
I works with comment, but does not work without
The text was updated successfully, but these errors were encountered: