This project is archived and is in readonly mode.

#4631 ✓resolved
Jeff Kreeftmeijer

Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix

Reported by Jeff Kreeftmeijer | May 17th, 2010 @ 09:44 PM | in 3.0.2

After starting writing some tests for Rails::Generators::GeneratedAttribute.field_type in the Bugmash ( #2377 ), I decided to go ahead and write more tests and do some cleaning up.

Also, I've fixed a little bug in Rails::Generators::GeneratedAttribute.default (You can't do .to_s(:db) on a Date object).

The patch is in the comments. :)

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>

Attachments

Referenced by

Pages