diff options
author | Cristian Bica <cristian.bica@gmail.com> | 2014-09-06 10:25:36 +0300 |
---|---|---|
committer | Cristian Bica <cristian.bica@gmail.com> | 2014-09-06 23:46:32 +0300 |
commit | 72d1663bc7353813f3ec5f4e841a2243baedb473 (patch) | |
tree | 8fdb76e18556fe6c1344170377be2ad529352296 /railties/test/generators/model_generator_test.rb | |
parent | da2f61947db287b5ba0343905da9316eecfd43f3 (diff) | |
download | rails-72d1663bc7353813f3ec5f4e841a2243baedb473.tar.gz rails-72d1663bc7353813f3ec5f4e841a2243baedb473.tar.bz2 rails-72d1663bc7353813f3ec5f4e841a2243baedb473.zip |
Fix query with nested array in Active Record
`User.where(id: [[1,2],3])` was equal to `User.where(id:[1, 2, 3])`
in Rails 4.1.x but because of some refactoring in Arel this stopped
working in 4.2.0. This fixes it in Rails.
[Dan Olson & Cristian Bica]
Diffstat (limited to 'railties/test/generators/model_generator_test.rb')
0 files changed, 0 insertions, 0 deletions