lib/tasks/seed.rake in succotash-1.0.1 vs lib/tasks/seed.rake in succotash-1.0.2
- old
+ new
@@ -3,10 +3,10 @@
Rake::Task['db:seed'].clear
namespace :db do
desc "Run db:seed:static and db:seed:sample"
task seed: %w{seed:static seed:sample} do
- warn "[WARNING] `db/seed.rb` and it;s task `rake db:seed` have been disabled by the succotash gem. Please move seed data to db/static.rb or db/sample.rb".light_yellow if File.exist? Fine.join(Rails.root, 'db/seeds.rb')
+ warn "[WARNING] `db/seed.rb` and it's task `rake db:seed` have been disabled by the succotash gem. Please move seed data to db/static.rb or db/sample.rb".light_yellow if File.exist? File.join(Rails.root, 'db/seeds.rb')
end
namespace :seed do
def load_seed_namespace ns