Rails: execute an arbitrary SQL query