Sha256: 68f7c27cc5e0748a9edc59a7d087d1eda080a1b5e3e577f8938e712a26ff744d
Contents?: true
Size: 561 Bytes
Versions: 109
Compression:
Stored size: 561 Bytes
Contents
require 'ffaker' require 'pathname' require 'spree/sample' namespace :spree_sample do desc 'Loads sample data' task load: :environment do if ARGV.include?('db:migrate') puts %Q{ 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. Migrations have been run. Please run 'rake spree_sample:load' by itself now. } exit(1) end SpreeSample::Engine.load_samples end end
Version data entries
109 entries across 109 versions & 1 rubygems