Rick Olson wrote:
And the problem went away. Is this just a MySQL issue or would the
problem be common across all databases? I would like to submit a patch
for this if I can. Are there other places that would benefit from
backticks to avoid problems which occur because key words are used as
table or column names?
There are database-specific quote_column_name methods for the adapters
that should handle this.
Brilliant. So I should patch schema_statements.rb to use
#quote_column_name in #add_index?
--
John Long
http://wiseheartdesign.com
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core