mongoid-locker
mongoid-locker copied to clipboard
Embed documents
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
@luckyraul could you add the models of parent and child?