How are you saving child
? If you're not creating or modifying an association with parent, rails doesn't modify the parent record. Would you really want rails updating parent
needlessly every time you modify a child?
You'll need to use before_save
to do what you wish (as you've mentioned).