new rails syntax for sql