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
When one updates or creates children with complex forms using accept_nested_attributes_for, the userstamps don't get updated for the modified children.
I think instead of using a before and after filter in the Stampable module, you should use an alias_method_chain (e.g. base.alias_method_chain :create, :userstamps) as in Rails' Timestamp module.
This worked for me
Regards
The text was updated successfully, but these errors were encountered:
Hello,
When one updates or creates children with complex forms using accept_nested_attributes_for, the userstamps don't get updated for the modified children.
I think instead of using a before and after filter in the Stampable module, you should use an alias_method_chain (e.g. base.alias_method_chain :create, :userstamps) as in Rails' Timestamp module.
This worked for me
Regards
The text was updated successfully, but these errors were encountered: