Rick Olson wrote:
Brilliant. So I should patch schema_statements.rb to use
#quote_column_name in #add_index?

Yup, go for it.  Post the ticket # and I'll see about adding it.  I'd
appreciate any folks using mssql, oracle, etc to try it out too.

Done:

  http://dev.rubyonrails.org/ticket/4764

Thinking about this a little more, I wonder if we should create a new quoting method called "quote_index_name" and use it when quoting indexes for connection adapters. It's probably premature at this point, but I thought I would mention it.

If the mssql, oracle, etc... folks can test this out I'd be grateful. It works for me on mysql.

--
John Long
http://wiseheartdesign.com
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to