method
stale_state
v6.1.3.1 -
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 35
def stale_state
foreign_key = super
foreign_key && [foreign_key.to_s, owner[reflection.foreign_type].to_s]
end