Module: GemExtensions::ActiveRecord::Associations::HasManyThroughAssociation
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/gem_extensions/active_record/associations/has_many_through_association.rb
Instance Method Summary collapse
Instance Method Details
#find_target ⇒ Object
9 10 11 12 13 14 |
# File 'lib/gem_extensions/active_record/associations/has_many_through_association.rb', line 9 def find_target return [] unless target_reflection_has_associated_record? return scope.to_a if disable_joins super end |