Sha256: 8cd40e41aed63e9c49a480d5f971bf82727207763073a5e5fe5e7e8b4ecf14bb

Contents?: true

Size: 736 Bytes

Versions: 90

Compression:

Stored size: 736 Bytes

Contents

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
#
# User.find_or_create_by(email: "admin@admin.com") do |user|
#   user.name = 'Admin'
#   user.password = 'password'
#   user.admin = true
# end

# david = User.create(email: 'david@site.com', name: 'david', password: 'password')
# bob   = User.create(email: 'bob@site.com', name: 'bob', password: 'password')
# lisa  = User.create(email: 'lisa@site.com', name: 'lisa', 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

90 entries across 55 versions & 1 rubygems

Version Path
rails_app_generator-0.2.40 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.39 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.38 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.37 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.36 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.35 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.34 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.33 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.32 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.31 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.30 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.29 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.28 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.27 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.26 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.25 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.24 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.23 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.22 after_templates/application/printspeak/db/seeds.rb
rails_app_generator-0.2.22 templates/thor_task/profile/db/seeds.rb