This project is archived and is in readonly mode.

#6536 new
Marc-André Lafortune

[PATCH] Fix fixture default value for 'type' column

Reported by Marc-André Lafortune | March 5th, 2011 @ 09:29 PM

Fixtures created by the rails generators are usually valid, except if STI is used. Indeed, the default value "MyString" is not appropriate for a column of name "type".

This patch changes the default value to "" for columns with the special name type.

Thanks

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