method
saved_change_to_target?
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToAssociation
saved_change_to_target?()public
No documentation available.
# File activerecord/lib/active_record/associations/belongs_to_association.rb, line 84
def saved_change_to_target?
owner.saved_change_to_attribute?(reflection.foreign_key)
end