I need an SQL statement that check if one condition is satisfied:
SELECT * FROM my_table WHERE my_table.x=1 OR my_table.y=1
I want to do th
I'd go with the IN clause, e.g:
IN
Account.where(["id in (?)", [1, 2]])