v7.0.0 - Show latest stable - Superclass: Object

A JoinPart represents a part of a JoinDependency. It is inherited by JoinBase and JoinAssociation. A JoinBase represents the Active Record which everything else is being joined onto. A JoinAssociation represents an association which is joining to the base. A JoinAssociation may result in more than one actual join operations (for example a has_and_belongs_to_many JoinAssociation would result in two; one for the join table and one for the target table).

Included modules

  • Enumerable

Attributes

[R]base_klass
[R]children

Files

  • activerecord/lib/active_record/associations/join_dependency/join_part.rb