Class: ActiveRecord::Associations::JoinDependency::JoinBase
- Defined in:
- lib/active_record/associations/join_dependency/join_base.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from JoinPart
Instance Method Summary collapse
Methods inherited from JoinPart
#each, #extract_record, #initialize, #instantiate, #name
Constructor Details
This class inherits a constructor from ActiveRecord::Associations::JoinDependency::JoinPart
Instance Method Details
#aliased_table_name ⇒ Object
16 17 18 |
# File 'lib/active_record/associations/join_dependency/join_base.rb', line 16 def aliased_table_name base_klass.table_name end |
#match?(other) ⇒ Boolean
7 8 9 10 |
# File 'lib/active_record/associations/join_dependency/join_base.rb', line 7 def match?(other) return true if self == other super && base_klass == other.base_klass end |
#table ⇒ Object
12 13 14 |
# File 'lib/active_record/associations/join_dependency/join_base.rb', line 12 def table base_klass.arel_table end |