1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Sean Griffin d26dd00854 WhereClause#predicates does not need to be public
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.
2015-01-27 10:30:38 -07:00
..
active_record/connection_adapters
assets
cases WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
fixtures Fix lookup of fixtures with non-string label 2015-01-06 17:15:39 +05:30
migrations
models Improve consistency of counter caches updating in memory 2015-01-26 12:37:29 -07:00
schema Add firebird support to test suite 2015-01-05 13:34:59 -03:00
support
.gitignore
config.example.yml
config.rb