In Rails 3.1 there is only one method for migrations called 'change'.
I want to run some code in a migration only when migrating up, not down. Is
The issue I have is that this code is inside a migration file from Active
# Create a default user
AdminUser.create!(:email => 'email@example.com', :password => 'password', :password_confirmation
So, when I try to migrate down this will fail because there is already a
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/9qqE5Z4agXYJ.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.