Initial fixtures

Hello,

I read that
rake db:bootstrap
loads the initial database fixtures. So I wonder: where should they be
put?
I can’t find any reference on their location…

Regards,
Bart

Hi Bart –

On 29-Aug-06, at 4:27 AM, Bart B. wrote:

I read that rake db:bootstrap loads the initial database fixtures.
So I wonder: where should they be put?

Not sure about rake db:bootstrap… At least, edge rails has no such
task. You should put your fixtures in test/fixtures; you can load
them into your database with:

rake db:fixtures:load

HTH

/Jeff


http://re.visioni.st
http://quotedprintable.com

Bart B. wrote:

Hello,

I read that
rake db:bootstrap
loads the initial database fixtures. So I wonder: where should they be
put?
I can’t find any reference on their location…

The db:bootstrap task is something Mephisto (by Rick O. and Justin
Palmer) does to initialize its database. It uses fixtures from the
db/bootstrap directory. You can see the source for Mephisto at
http://svn.techno-weenie.net/projects/mephisto/


Josh S.
http://blog.hasmanythrough.com