method
    
    target_reflection_has_associated_record?
 
  
      Ruby on Rails latest stable (v7.1.3.2)
 - 
    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 115 def target_reflection_has_associated_record? !(through_reflection.belongs_to? && Array(through_reflection.foreign_key).all? { |foreign_key_column| owner[foreign_key_column].blank? }) end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
    
     
    
 
  