class ActiveRecord::Associations::BelongsToPolymorphicAssociation

def stale_state

def stale_state
  foreign_key = super
  foreign_key && [foreign_key.to_s, owner[reflection.foreign_type].to_s]
end