How to specify which database we're using?

I am seeding my environment for testing, but I am doing it upon my
development environment, and in fact I’d like to seed my test
environment…

How can I do that?

rake db:seed RAILS_ENV=test


Andy J.
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840

Thanks.

On 4 June 2010 15:45, Andy J. [email protected] wrote:

rake db:seed RAILS_ENV=test

Will that work? I realise that it will seed the test db but I thought
that test db was cleared and refilled from fixtures for each test.

Colin