This project is archived and is in readonly mode.

#6242 ✓committed
Prem Sichanugrist (sikachu)

Use Rails 3.1 `change` method in migration and model generators

Reported by Prem Sichanugrist (sikachu) | December 31st, 2010 @ 06:25 PM | in 3.1

I saw that Aaron has done a great job on implementing migration's change method. So, I think we should use that in Rails 3.1 generators by default.

I've attached the patch with modified test cases, which it's passing on the current master. This patch should only be applied to master.

Thank you :)

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>

Pages