2015-09-17 14:05:33 +02:00
|
|
|
unless Rails.env.production?
|
|
|
|
require 'factory_girl'
|
|
|
|
require 'faker'
|
|
|
|
task :sow => :environment do
|
2016-02-02 15:20:04 +01:00
|
|
|
# FactoryGirl.create_list(:user, 20)
|
2015-09-17 14:05:33 +02:00
|
|
|
FactoryGirl.create_list(:product, 20)
|
|
|
|
end
|
|
|
|
end
|