squeel
squeel copied to clipboard
Parentheses are ignored when using + and * together.
Invoice.where{(foo + 2) * 2 < 10}
SELECT "invoices".* FROM "invoices" WHERE "invoices"."foo" + 2 * 2 < 10
So I've got something completely different from what was requested.