thoughtbot/pacecar — Issue #27: Add attr_in/attr_not_in
Author: dolzenko
Created: 2012-01-08 14:25:25+00:00
State: open

Hi there, the idea guy is speaking, are there any plans to add this?

User.id_in([1,2,3]).to_sql => # SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3)
User.id_not_in([1,2,3]).to_sql => # SELECT "users".* FROM "users" WHERE "users"."id" NOT IN (1, 2, 3)