diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-25 16:10:56 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-25 16:11:07 -0700 |
commit | 4d7a62293e148604045a5f78a9d4312e79e90d13 (patch) | |
tree | 8204e4a2dff6cda9789d28dc0cc098bae78c4fa2 /activerecord/test/fixtures/toys.yml | |
parent | ffd495cf2131dd8b3fc1ec619c996c3002c23714 (diff) | |
download | rails-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/test/fixtures/toys.yml')
0 files changed, 0 insertions, 0 deletions