class ActiveRecord::Associations::BelongsToPolymorphicAssociation

def stale_state

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