lib/tasks/sample.rake in solidus_sample-1.2.3 vs lib/tasks/sample.rake in solidus_sample-1.3.0.beta1
- old
+ new
@@ -2,13 +2,13 @@
require 'pathname'
require 'spree/sample'
namespace :spree_sample do
desc 'Loads sample data'
- task :load => :environment do
+ task load: :environment do
if ARGV.include?("db:migrate")
- puts %Q{
+ puts %{
Please run db:migrate separately from spree_sample:load.
Running db:migrate and spree_sample:load at the same time has been known to
cause problems where columns may be not available during sample data loading.
@@ -18,7 +18,5 @@
end
SpreeSample::Engine.load_samples
end
end
-
-