Kentor
2009-May-28 18:53 UTC
rake db:create, db:migrate ok but rake RAILS_ENV=production db:create, db:migrate fails...
Hello, anybody have any clue why the following is happening: if i do "rake db:drop, rake db:create, rake db:migrate" everything is fine but if i do "rake RAILS_ENV=testing db:drop", then "rake RAILS_ENV=testing db:create" & then "rake RAILS_ENV=testing db:migrate" it fails on the migrate part, i get "Validation Failed: Group has already been taken" in the middle of the migration