Sha256: f2a34b13f37ed2f76ac35a600e0a8ed65dae225679a777ff85ad1acd1afdff74

Contents?: true

Size: 319 Bytes

Versions: 25

Compression:

Stored size: 319 Bytes

Contents

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

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
jetfuel-1.19.1 templates/development_seeds.rb
jetfuel-1.19.0 templates/development_seeds.rb
jetfuel-1.18.6 templates/development_seeds.rb
jetfuel-1.18.5 templates/development_seeds.rb
jetfuel-1.18.4 templates/development_seeds.rb
jetfuel-1.18.3 templates/development_seeds.rb
jetfuel-1.18.2 templates/development_seeds.rb
jetfuel-1.18.1 templates/development_seeds.rb
jetfuel-1.18.0 templates/development_seeds.rb
suspenders-1.14.0 templates/development_seeds.rb
suspenders-1.13.0 templates/development_seeds.rb
suspenders-1.12.0 templates/development_seeds.rb
suspenders-1.11.0 templates/development_seeds.rb
suspenders-1.10.2 templates/development_seeds.rb
suspenders-1.10.1 templates/development_seeds.rb
suspenders-1.10.0 templates/development_seeds.rb
suspenders-1.9.3 templates/development_seeds.rb
suspenders-1.9.2 templates/development_seeds.rb
suspenders-1.9.1 templates/development_seeds.rb
suspenders-1.9.0 templates/development_seeds.rb