Le 12 mai 07 à 23:10, Eamon Ford a écrit : > OK. I'm really new to Rails, so I have just a little more than no > idea what the test/dev/production environments are about. I'll try > creating a new database for test. > > > On May 12, 2007, at 12:15 AM, Dick Davies wrote: > >> That's a really bad idea. >> >> On 11/05/07, Eamon Ford <[EMAIL PROTECTED]> wrote: >>> Yeah; I connected the production, dev, and test all to the same >>> database. >>> >>> >>> On May 11, 2007, at 1:47 AM, Dick Davies wrote: >>> >>>> Are you defnitely connecting to the production database (not devel >>>> or test)? >>>> >>>>> Eamon Ford <[EMAIL PROTECTED]> writes: >> >>>>>> Also, it >>>>>> shows all my old posts, but when I look in the database (with a >>>>>> MySQL >>>>>> frontend), there are a bunch sample posts. Weird. >>
test database is for tests and wiped everytime rake test is ran and filled with test data development databsae is for... developpment production test is for production Rails application really should have at least 2 (test + dev / prod) databases -- Frédéric de Villamil [EMAIL PROTECTED] tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com Typo : http://typosphere.org _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
