Class: ActiveRecord::Associations::AssociationScope::ReflectionProxy
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- ActiveRecord::Associations::AssociationScope::ReflectionProxy
- Defined in:
- activerecord/lib/active_record/associations/association_scope.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#aliased_table ⇒ Object
readonly
Returns the value of attribute aliased_table.
Instance Method Summary collapse
- #all_includes ⇒ Object
-
#initialize(reflection, aliased_table) ⇒ ReflectionProxy
constructor
A new instance of ReflectionProxy.
Constructor Details
#initialize(reflection, aliased_table) ⇒ ReflectionProxy
Returns a new instance of ReflectionProxy.
104 105 106 107 |
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 104 def initialize(reflection, aliased_table) super(reflection) @aliased_table = aliased_table end |
Instance Attribute Details
#aliased_table ⇒ Object (readonly)
Returns the value of attribute aliased_table
102 103 104 |
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 102 def aliased_table @aliased_table end |
Instance Method Details
#all_includes ⇒ Object
109 |
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 109 def all_includes; nil; end |