Not sure I follow. You do not need an extra task to run migrations in dev and test. Because the test database is loaded straight from db/schema.rb.
The flow is: you run db:migrate in the environment you want, say "development". That dumps db/schema.rb as a side-effect, and the test tasks load that file. They do not use migrations. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
