aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/subscription.rb
diff options
context:
space:
mode:
authorYuki Nishijima <mail@yukinishijima.net>2015-04-13 20:08:35 -0700
committerYuki Nishijima <mail@yukinishijima.net>2015-04-13 20:13:37 -0700
commit50cae600bd6f4a8d1b437368c82f65bc118f8417 (patch)
treee53d564c567a1caffc805621b254f92f3dd5446d /activerecord/test/models/subscription.rb
parent8ac458ad2e252ba041d9f4e42b94bd5997a622be (diff)
downloadrails-50cae600bd6f4a8d1b437368c82f65bc118f8417.tar.gz
rails-50cae600bd6f4a8d1b437368c82f65bc118f8417.tar.bz2
rails-50cae600bd6f4a8d1b437368c82f65bc118f8417.zip
Add support for Set to Relation#where
Previously `#where` used to treat `Set`objects as nil, but now it treats them as an array: set = Set.new([1, 2]) Author.where(:id => set) # => SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (1, 2)
Diffstat (limited to 'activerecord/test/models/subscription.rb')
0 files changed, 0 insertions, 0 deletions