Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Will work
- Rails.env = 'test'
- Rake::Task["db:drop"].execute
- # Will NOT work as it will use "test"
- Rails.env = 'dev'
- Rake::Task["db:drop"].execute
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement