diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-25 17:48:11 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-25 17:50:24 -0700 |
commit | fcb95d67440d7e296dfeaa343ecf67a05216dca0 (patch) | |
tree | 607dfb51a8e8f90c379aed18d82ff00d5e4352c8 /activerecord/test | |
parent | 4b71ab089ce57cf063005f014e1ff1bb675c46c7 (diff) | |
download | rails-fcb95d67440d7e296dfeaa343ecf67a05216dca0.tar.gz rails-fcb95d67440d7e296dfeaa343ecf67a05216dca0.tar.bz2 rails-fcb95d67440d7e296dfeaa343ecf67a05216dca0.zip |
Correct the implementation for `unscope(:where)`
The code assumes that non-single-value methods mean multi value methods.
That is not the case. We need to change the accessor name, and only
assign an array for multi value methods
Diffstat (limited to 'activerecord/test')
0 files changed, 0 insertions, 0 deletions