method
foreign_key_present?
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToAssociation
foreign_key_present?()private
No documentation available.
# File activerecord/lib/active_record/associations/belongs_to_association.rb, line 55
def foreign_key_present?
owner[reflection.foreign_key]
end