method
saved_change_to_target?
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToPolymorphicAssociation
saved_change_to_target?()public
No documentation available.
# File activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb, line 20
def saved_change_to_target?
super || owner.saved_change_to_attribute?(reflection.foreign_type)
end