method

record_changed?

rails latest stable - Class: ActiveRecord::AutosaveAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

record_changed?(reflection, record, key)
private

If the record is new or it has changed, returns true.