Module: ActiveRecord

Defined in:
app/patches/rails/active_record/autosave_association.rb

Overview

There is a bug in Rails which causes issues when using accepts_nested_attrs and inverse_of on associations: github.com/rails/rails/issues/7809/ This code was lifted from the pull request of the bug shown above. It solves the issue. Until this is merged into rails we will have to carry the patch ourselves.

Defined Under Namespace

Modules: AutosaveAssociation