lib/tasks/siringa_tasks.rake in siringa-0.0.7 vs lib/tasks/siringa_tasks.rake in siringa-0.0.8
- old
+ new
@@ -1,7 +1,7 @@
namespace :siringa do
desc "Load a definition and populate the DB with seed data"
- task :load, [:definition] do |t, args|
+ task :load_definition, [:definition] do |t, args|
args.with_defaults :definition => :initial
Rake::Task["environment"].invoke
puts <<-EOS
This will load #{args[:definition]} definition and populate the DB for #{Rails.env} environment.
EOS