diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-26 15:49:29 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-26 15:49:29 -0700 |
commit | 6a7ac40dabf4a8948418c61f307ffe52ddcb48f2 (patch) | |
tree | c123d4db35c7291db4c1ddff2473f77c2759b9a5 /activerecord/lib/active_record/relation/spawn_methods.rb | |
parent | 9d4d2e7fc69e5eb0586e57259c2993143346a1b9 (diff) | |
download | rails-6a7ac40dabf4a8948418c61f307ffe52ddcb48f2.tar.gz rails-6a7ac40dabf4a8948418c61f307ffe52ddcb48f2.tar.bz2 rails-6a7ac40dabf4a8948418c61f307ffe52ddcb48f2.zip |
Go through normal `where` logic in `AssociationScope`
This removes the need to duplicate much of the logic in `WhereClause`
and `PredicateBuilder`, simplifies the code, removes the need for the
connection adapter to be continuously passed around, and removes one
place that cares about the internal representation of `bind_values`
Part of the larger refactoring to change how binds are represented
internally
[Sean Griffin & anthonynavarre]
Diffstat (limited to 'activerecord/lib/active_record/relation/spawn_methods.rb')
0 files changed, 0 insertions, 0 deletions