Class: ActiveRecord::Associations::AssociationScope::ReflectionProxy

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/active_record/associations/association_scope.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reflection, aliased_table) ⇒ ReflectionProxy

Returns a new instance of ReflectionProxy.



97
98
99
100
# File 'lib/active_record/associations/association_scope.rb', line 97

def initialize(reflection, aliased_table)
  super(reflection)
  @aliased_table = aliased_table
end

Instance Attribute Details

#aliased_tableObject (readonly)

Returns the value of attribute aliased_table.



95
96
97
# File 'lib/active_record/associations/association_scope.rb', line 95

def aliased_table
  @aliased_table
end

Instance Method Details

#all_includesObject



102
# File 'lib/active_record/associations/association_scope.rb', line 102

def all_includes; nil; end