This project is archived and is in readonly mode.

#622 ✓resolved
Tarmo Tänav

Raise error if renaming nonexisting column in sqlite

Reported by Tarmo Tänav | July 15th, 2008 @ 03:29 AM | in 2.x

Currently sqlite seems to silently ignore rename_column called on a nonexisting column, this patch causes an ActiveRecordError to be raised in that case. This actually fixes a test for this behavior which is why the patch does not contain a test.

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

Pages