fix rake task

This commit is contained in:
John Bintz 2013-02-20 13:23:10 -05:00
parent 83da44aecb
commit 0dc5789ac7

View File

@ -3,7 +3,7 @@ module SeedFuMongoid
rake_tasks do rake_tasks do
namespace :db do namespace :db do
desc "Load seed data from db/fixtures" desc "Load seed data from db/fixtures"
task :seed_fu do task :seed_fu => :environment do
Dir['db/fixtures/**/*.rb'].each do |file| Dir['db/fixtures/**/*.rb'].each do |file|
puts "== Seed from #{file}" puts "== Seed from #{file}"