I've created 3 rake tasks: rake db:create:test rake db:build rake db:rebuild
The first creates your test database. The second, creates your development database, migrates it, creates the test database and then clones the development database to the test database.a Lastly, the third drops your database (dev), creates it, migrates it, and clones it for your test database. For a few projects, I've gotten tired of doing: rake db:drop && rake db:create && rake db:migrate && rake db:test:clone link: http://dev.rubyonrails.org/ticket/10316 What do you guys think, +1's? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
