Class: ActiveRecord::FixtureSet::ReflectionProxy

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

Overview

:nodoc:

Direct Known Subclasses

HasManyThroughProxy

Instance Method Summary collapse

Constructor Details

#initialize(association) ⇒ ReflectionProxy

Returns a new instance of ReflectionProxy.



674
675
676
# File 'lib/active_record/fixtures.rb', line 674

def initialize(association)
  @association = association
end

Instance Method Details

#join_tableObject



678
679
680
# File 'lib/active_record/fixtures.rb', line 678

def join_table
  @association.join_table
end

#nameObject



682
683
684
# File 'lib/active_record/fixtures.rb', line 682

def name
  @association.name
end