aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/test_info_test.rb
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2014-08-17 07:55:42 -0400
committerJean Boussier <jean.boussier@gmail.com>2014-08-17 07:55:42 -0400
commit6fdf5167b7a49a4cdd9d47570ddcebcbbf808e99 (patch)
tree51876b0df48b1d87edabac5de66612f6e0d477df /railties/test/test_info_test.rb
parentd20270612cd9be3eed910171934a6b3463dbead7 (diff)
downloadrails-6fdf5167b7a49a4cdd9d47570ddcebcbbf808e99.tar.gz
rails-6fdf5167b7a49a4cdd9d47570ddcebcbbf808e99.tar.bz2
rails-6fdf5167b7a49a4cdd9d47570ddcebcbbf808e99.zip
Add a test case of nested empty array values in conditions
Post.where(id: [[]]).to_a Used to fail with a SQL syntax error (until 4.1): SELECT ... WHERE id in (); It now properly generate: SELECT ... WHERE 1=0;
Diffstat (limited to 'railties/test/test_info_test.rb')
0 files changed, 0 insertions, 0 deletions