method
target_reflection_has_associated_record?
v3.2.1 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::HasManyThroughAssociation
target_reflection_has_associated_record?()
private
Hide source
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 105 def target_reflection_has_associated_record? if through_reflection.macro == :belongs_to && owner[through_reflection.foreign_key].blank? false else true end end