Thanks Ashley. And I am sure I will forget to run migration for the test 
environment each time I make changes to it. I will create a dumb script 
that looks like:
--
RAILS_ENV=production rake db:migrate
RAILS_ENV=test rake db:migrate
...


It's not DRY but it's so easy to read with so little lines of code. Well 
it would be very easy to refactor.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to