Sha256: cfd0a1e59f10fc059062d2f5fbf3f2c2641a8db2ed6691b40f48fefe04488b3d

Contents?: true

Size: 394 Bytes

Versions: 12

Compression:

Stored size: 394 Bytes

Contents

# SeedService.seed
# david = User.create(email: 'david@site.com', name: 'david', password: 'password')
# james = User.create(email: 'james@site.com', name: 'james', password: 'password')
# sally = User.create(email: 'sally@site.com', name: 'sally', password: 'password')

# 10.times do |i|
#   Post.create(title: "Post #{i}", body: "This is the body of post #{i}", user: User.all.sample)
# end

Version data entries

12 entries across 8 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.6 after_templates/addons/rspec/db/seeds.rb
rails_app_generator-0.3.5 after_templates/addons/rspec/db/seeds.rb
rails_app_generator-0.3.5 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.4 after_templates/addons/rspec/db/seeds.rb
rails_app_generator-0.3.4 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.3 after_templates/addons/rspec/db/seeds.rb
rails_app_generator-0.3.3 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.2 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.1 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.3.0 templates/thor_task/profile/db/seeds.rb
rails_app_generator-0.2.43 templates/thor_task/profile/db/seeds.rb