Permalink
Browse files

Update README.

  • Loading branch information...
1 parent d0deba3 commit 7e2c963dcfb393315b393e0ec42ed4bf9452c55c @wisq committed Aug 6, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 README.markdown
View
@@ -24,9 +24,15 @@ You'll want to add a lib/tasks/rails_parallel.rake with at least the following:
RailsParallel::Rake.launch
end
- # RailsParallel runs this if it needs to reload the DB.
namespace :db do
+ # RailsParallel runs this if it needs to reload the DB.
task :setup => ['db:drop', 'db:create', 'db:schema:load']
+
+ # RailsParallel normally doesn't mess with your current DB,
+ # only the 'test' env DB. Run this to load it if required.
+ task :load => :environment do
+ RailsParallel::Rake.load_current_db
+ end
end
end

0 comments on commit 7e2c963

Please sign in to comment.