This project is archived and is in readonly mode.

#4300 ✓resolved
Simon

remove_index doesn't quote table_name

Reported by Simon | March 31st, 2010 @ 12:22 AM

in lib/active_record/connection_adapters/abstract/schema_statements.rb in the method "def remove_index" the used table_name isn't quoted with quote_table_name() so with MySQL and table name "keys" add_index can create indexes but can't remove them.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages