method
stale_state
v7.1.3.4 -
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
foreign_key = super
foreign_key && [foreign_key.to_s, owner[reflection.foreign_type].to_s]
end