method
foreign_key_for?
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Associations::Association
foreign_key_for?(record)private
Returns true if record contains the foreign_key
foreign_key_for?(record)Returns true if record contains the foreign_key