mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d26dd00854
The only place it was accessed was in tests. Many of them have another way that they can test their behavior, that doesn't involve reaching into internals as far as they did. `AssociationScopeTest` is testing a situation where the where clause would have one bind param per predicate, so it can just ignore the predicates entirely. The where chain test was primarly duplicating the logic tested on `WhereClause` directly, so I instead just make sure it calls the appropriate method which is fully tested in isolation. |
||
---|---|---|
.. | ||
predicate_builder | ||
batches.rb | ||
calculations.rb | ||
delegation.rb | ||
finder_methods.rb | ||
from_clause.rb | ||
merger.rb | ||
predicate_builder.rb | ||
query_methods.rb | ||
spawn_methods.rb | ||
where_clause.rb | ||
where_clause_factory.rb |