method
record_changed?
rails latest stable - Class:
ActiveRecord::AutosaveAssociation
record_changed?(reflection, record, key)private
If the record is new or it has changed, returns true.
record_changed?(reflection, record, key)If the record is new or it has changed, returns true.