Class: ActiveRecord::FixtureSet::HasManyThroughProxy

Inherits:
ReflectionProxy show all
Defined in:
lib/active_record/fixtures.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from ReflectionProxy

#initialize, #join_table, #name

Constructor Details

This class inherits a constructor from ActiveRecord::FixtureSet::ReflectionProxy

Instance Method Details

#lhs_keyObject



692
693
694
# File 'lib/active_record/fixtures.rb', line 692

def lhs_key
  @association.through_reflection.foreign_key
end

#rhs_keyObject



688
689
690
# File 'lib/active_record/fixtures.rb', line 688

def rhs_key
  @association.foreign_key
end