Hoosgot

Send your wishes and desires out into the ether.

Hoosgot header image 2

halp rails: initialize the development database with some …

June 20th, 2008 · No Comments

http://nothinghappens.net/?p=329 asks Hoosgot,

Yo lazyweb: I have been banging my head against this most of the day. I want to do some “roll it down the hill and see if it crashes” testing in the development environment of my Rails project (1.2.3). In other words, basically, when I fire up script/server, I want to start out the database with my test data in it. At least enough so I can actually see my project running, instead of RecordNotFound error pages. I have unit test fixture .yml files already set up, so if I can leverage what the unit tests do with those, that would be rad. I can’t do it in a migration, because then I’ll need to make sure that stuff gets

Visit the blog to lend your wisdom, or you can comment below.

Tags: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment