123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::FixtureSet::TableRow::HasManyThroughProxy

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: ActiveRecord::FixtureSet::TableRow::ReflectionProxy
Defined in: activerecord/lib/active_record/fixture_set/table_row.rb

Class Method Summary

ReflectionProxy - Inherited

Instance Method Summary

Constructor Details

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

Instance Method Details

#join_table

[ GitHub ]

  
# File 'activerecord/lib/active_record/fixture_set/table_row.rb', line 33

def join_table
  @association.through_reflection.table_name
end

#lhs_key

[ GitHub ]

  
# File 'activerecord/lib/active_record/fixture_set/table_row.rb', line 29

def lhs_key
  @association.through_reflection.foreign_key
end

#rhs_key

[ GitHub ]

  
# File 'activerecord/lib/active_record/fixture_set/table_row.rb', line 25

def rhs_key
  @association.foreign_key
end

#timestamp_column_names

[ GitHub ]

  
# File 'activerecord/lib/active_record/fixture_set/table_row.rb', line 37

def timestamp_column_names
  @association.through_reflection.klass.all_timestamp_attributes_in_model
end