aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/boolean.rb
diff options
context:
space:
mode:
authorMaxime Lapointe <hunter_spawn@hotmail.com>2017-07-13 11:08:35 -0400
committerMaxime Lapointe <hunter_spawn@hotmail.com>2017-07-13 13:18:08 -0400
commit425ba83c28214ca97c5d3600c16ad7a796cd33e6 (patch)
tree887d19657bb887dc8438ef52bb2702dfeb041cee /activerecord/test/models/boolean.rb
parent472f39f781e5ebf5dcb19bb432572ba68dfcceca (diff)
downloadrails-425ba83c28214ca97c5d3600c16ad7a796cd33e6.tar.gz
rails-425ba83c28214ca97c5d3600c16ad7a796cd33e6.tar.bz2
rails-425ba83c28214ca97c5d3600c16ad7a796cd33e6.zip
Bugfix: unscope(where: [columns]) would not remove the correct binds sometimes
Post.where(id: 1).or(Post.where(id: 2)).where(foo: 3).unscope(where: :foo).where_clause.binds.map(&:value) Would return [2, 3] instead of the expected [1,2]
Diffstat (limited to 'activerecord/test/models/boolean.rb')
0 files changed, 0 insertions, 0 deletions