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