Matt Moriarity
Not a member
Matt Moriarity's latest activity
Thursday, August 05 2010
-
-
Matt Moriarity commented at 8:48 PMPerhaps it could be quoted automatically only if the user provided a symbol as the parameter.
For instance, List.order(:order) would generate '... ORDER BY "ord...
-
Matt Moriarity commented at 4:32 AMI guess I'm just surprised this is such a difficult fix, since the double quotes are already used earlier in the SQL statement in the SELECT block. There's no r...
Tuesday, July 13 2010
5094
ActiveRelation doesn't quote columns that are SQL keywords
was updated
in Ruby on Rails
-
Matt Moriarity commented at 1:25 AMI mean double-quoted, which will treat it as a column name and not a keyword:
SELECT cars.* FROM "cars" ORDER BY "id"
would be the same as the original, but if ...
Monday, July 12 2010
5094
ActiveRelation doesn't quote columns that are SQL keywords
was created
in Ruby on Rails
-
Matt Moriarity created the ticket at 3:19 PMI created a table using migrations called lists, which has a column named order for maintaining the order of the lists. This worked fine, but then I tried to ca...