mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6928950def
Most of the time the table and predicate_builder passed to Relation.new are exactly the arel_table and predicate builder of the given klass. This uses klass.arel_table and klass.predicate_builder as the defaults, so we don't have to pass them in most cases. This does change the signaure of both Relation and AssocationRelation. Are we ok with that? |
||
---|---|---|
.. | ||
builder | ||
join_dependency | ||
preloader | ||
alias_tracker.rb | ||
association.rb | ||
association_scope.rb | ||
belongs_to_association.rb | ||
belongs_to_polymorphic_association.rb | ||
collection_association.rb | ||
collection_proxy.rb | ||
foreign_association.rb | ||
has_many_association.rb | ||
has_many_through_association.rb | ||
has_one_association.rb | ||
has_one_through_association.rb | ||
join_dependency.rb | ||
preloader.rb | ||
singular_association.rb | ||
through_association.rb |