vidpush/lib/tasks/development_seeds.rake

14 lines
319 B
Ruby
Raw Normal View History

2014-04-07 18:41:34 +00:00
if Rails.env.development?
require 'factory_girl'
namespace :dev do
desc 'Seed data for development environment'
task prime: 'db:setup' do
FactoryGirl.find_definitions
include FactoryGirl::Syntax::Methods
# create(:user, email: 'user@example.com', password: 'password')
end
end
end