method
foreign_key_for?
v4.1.8 -
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