aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/preloader/through_association.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-25 16:10:56 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-25 16:11:07 -0700
commit4d7a62293e148604045a5f78a9d4312e79e90d13 (patch)
tree8204e4a2dff6cda9789d28dc0cc098bae78c4fa2 /activerecord/lib/active_record/associations/preloader/through_association.rb
parentffd495cf2131dd8b3fc1ec619c996c3002c23714 (diff)
downloadrails-4d7a62293e148604045a5f78a9d4312e79e90d13.tar.gz
rails-4d7a62293e148604045a5f78a9d4312e79e90d13.tar.bz2
rails-4d7a62293e148604045a5f78a9d4312e79e90d13.zip
Don't rely as much on the structure of the values hash in associations
The structure of `values[:where]` is going to change, with an intermediate definition of `where_values` to aid the refactoring. Accessing `values[:where]` directly messes with that, signficantly. The array wrapping is no longer necessary, since `where_values` will always return an array.
Diffstat (limited to 'activerecord/lib/active_record/associations/preloader/through_association.rb')
0 files changed, 0 insertions, 0 deletions