Refactor migration generator #6382

merged 1 commit into from May 18, 2012

2 participants


In the up, down methods the migration action can never be add, as that is handled in the change method,

Ruby on Rails member

Have you ran the generator tests? they will probably break after this change.

cd railties
TEST_DIR=generators rake test

Hi @josevalim

All tests now pass.

@josevalim josevalim merged commit f491c6a into rails:master May 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment