Module: Extensions::HasManyInverseThrough::ActiveRecord::Reflection::ThroughReflection

Defined in:
lib/extensions/has_many_inverse_through/active_record/reflection/through_reflection.rb

Defined Under Namespace

Modules: PrependMethods

Instance Method Summary collapse

Instance Method Details

#inverse_throughObject


16
17
18
19
20
# File 'lib/extensions/has_many_inverse_through/active_record/reflection/through_reflection.rb', line 16

def inverse_through
  return unless inverse_through_name

  @inverse_through ||= klass._reflect_on_association(inverse_through_name)
end