method
foreign_key_present?
v4.0.2 -
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 68
def foreign_key_present?
owner[reflection.foreign_key]
end