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