aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-25 17:48:11 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-25 17:50:24 -0700
commitfcb95d67440d7e296dfeaa343ecf67a05216dca0 (patch)
tree607dfb51a8e8f90c379aed18d82ff00d5e4352c8 /activerecord/lib/active_record/scoping
parent4b71ab089ce57cf063005f014e1ff1bb675c46c7 (diff)
downloadrails-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/lib/active_record/scoping')
0 files changed, 0 insertions, 0 deletions