method
stale_state
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToPolymorphicAssociation
stale_state()private
No documentation available.
# File activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb, line 43
def stale_state
if foreign_key = super
[foreign_key, owner[reflection.foreign_type]]
end
end