module ActiveAny::Associations::ForeignKeyAssociation
Public Instance Methods
foreign_key_present?()
click to toggle source
# File lib/active_any/associations/foreign_key_association.rb, line 5 def foreign_key_present? if reflection.klass.primary_key owner.attribute_present?(reflection.record_class_primary_key) else false end end