Module: GemExtensions::ActiveRecord::Associations::HasOneThroughAssociation
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/gem_extensions/active_record/associations/has_one_through_association.rb
Instance Method Summary collapse
Instance Method Details
#find_target ⇒ Object
9 10 11 12 13 |
# File 'lib/gem_extensions/active_record/associations/has_one_through_association.rb', line 9 def find_target return scope.first if disable_joins super end |