search for: load_my_fixtures

Displaying 1 result from an estimated 1 matches for "load_my_fixtures".

2006 Sep 05
0
rake craziness with Migrate as a dependency
...l is have one rake task called "deploy_demo" which purges the database, migrates to the current schema, and loads the db from a set of fixture files in a specified location. I''ve written two new tasks the perform portions of this task: db:purge - purges the db set in RAILS_ENV. load_my_fixtures - loads the db using fixtures from a directory specified by the SRC env var Then I setup deploy_demo as a task that basically calls db:purge, db:migrate, and then load_my_fixtures. The source is below: -- Start -- desc "This is a task to deploy a demo. It is setup to work in the context of...