fix rake task
This commit is contained in:
parent
83da44aecb
commit
0dc5789ac7
|
@ -3,7 +3,7 @@ module SeedFuMongoid
|
|||
rake_tasks do
|
||||
namespace :db do
|
||||
desc "Load seed data from db/fixtures"
|
||||
task :seed_fu do
|
||||
task :seed_fu => :environment do
|
||||
Dir['db/fixtures/**/*.rb'].each do |file|
|
||||
puts "== Seed from #{file}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue