Send object a message instead of directly setting the attribute #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This line will lead to fail when you have nested attributes in a document.
Since the access to the property is made directly (through the #[] method) mongoid will store the association_attributes as a property of the document, instead of triggering the nested attributes generated method.
This little patch fixes this issue.
Thanks!