Class: ActiveRecord::FixtureSet::HasManyThroughProxy
- Inherits:
-
ReflectionProxy
- Object
- ReflectionProxy
- ActiveRecord::FixtureSet::HasManyThroughProxy
- Defined in:
- activerecord/lib/active_record/fixtures.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from ReflectionProxy
#initialize, #name, #primary_key_type
Constructor Details
This class inherits a constructor from ActiveRecord::FixtureSet::ReflectionProxy
Instance Method Details
#join_table ⇒ Object
743 744 745 |
# File 'activerecord/lib/active_record/fixtures.rb', line 743 def join_table @association.through_reflection.table_name end |
#lhs_key ⇒ Object
739 740 741 |
# File 'activerecord/lib/active_record/fixtures.rb', line 739 def lhs_key @association.through_reflection.foreign_key end |
#rhs_key ⇒ Object
735 736 737 |
# File 'activerecord/lib/active_record/fixtures.rb', line 735 def rhs_key @association.foreign_key end |