On 4/17/06, John W. Long <[EMAIL PROTECTED]> wrote:
> 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

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.


--
Rick Olson
http://techno-weenie.net
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to