Sha256: 47399e4e3aa59d7a0ac1dfd10b0b984061b959ca7cc4e0f7b8a3f638f8b887d7

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

if Rails.env.development?
  require 'factory_girl'

  namespace :dev do
    desc 'Seed data for development environment'
    task setup: 'db:setup' do
      FactoryGirl.find_definitions
      include FactoryGirl::Syntax::Methods

      # create(:user, email: 'user@example.com', password: 'password')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gb-firestarter-0.3.1 templates/development_seeds.rb
gb-firestarter-0.3.0 templates/development_seeds.rb
gb-firestarter-0.2.0 templates/development_seeds.rb
gb-firestarter-0.1.0 templates/development_seeds.rb