Alex MacCaw
Rails Developer · Not a member
Alex MacCaw's latest activity
Monday, May 05 2008
23
validates_uniqueness_of doesn't escape attributes
was updated
in Ruby on Rails
-
Alex MacCaw commented at 5:53 PMI don't think uploading a file to a ticket makes it go back into the feed. I've added the changes koz suggested and re-uploaded the patch (in Git's format).
Saturday, April 19 2008
23
validates_uniqueness_of doesn't escape attributes
was updated
in Ruby on Rails
-
Alex MacCaw commented at 10:38 PMI didn't know you could have spaces in column names - but if this is a problem then by all means just escape the column name.
-
Alex MacCaw commented at 4:48 PMThat's right. I thought about escaping the column name, however I decided I'd follow the convention which seems to escape the table name, rather than the colum...
-
-
Alex MacCaw created the ticket at 9:39 AMLet's say I have a table with a column called 'key' (which is a SQL keyword). If I try and validate_uniqueness_of :key, the SQL query fails, since the attribut...