I changed the subject to be more appropriate. Any idea why the development database would be effected? On 12/26/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hey all. Hope you can help with this. I was running "rake" to run > tests on my server we are setting up for production. I''m currently > entering all my data into the dev database. After running "rake", my > dev database looked just like my test database. It overwrote all my > data??!!?? > > I was using the same db for production and development if that > matters. My database.yml file is as follows: > > development: > adapter: mysql > database: jcadev > host: localhost > username: jca > password: ************* > > # Warning: The database defined as ''test'' will be erased and > # re-generated from your development database when you run ''rake''. > # Do not set this db to the same as development or production. > test: > adapter: mysql > database: jcatest > host: localhost > username: jca > password: ************r > > production: > development > > > Why would the development db be affected when running a rake test?? > > --Ryan >