Back to Rails! https://github.com/rails/rails/issues/26726
TL;DR Adding a before/after_commit/rollback hook causes the parent not to be touched when saving via nested attributes. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cf9010a4-cac9-441a-85ee-18d070c88cd8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

