> Actually, it's a better idea to use quote_column_name instead of literal
> quotes.  This way, changing databases won't break your code (MySQL and
> SQLite use `` identifier quoting, PostgreSQL uses "" or nothing, MS SQL
> uses [], but the quote_column_name method abstracts them all).

I didn't know about that one. Thanks Marnen.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to