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
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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs