Sha256: 280021de8231908f859fb83838c092433f6e34fd736eea43e6f4d997e1e1f5d9
Contents?: true
Size: 611 Bytes
Versions: 10
Compression:
Stored size: 611 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 rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) puts 'SETTING UP DEFAULT USER LOGIN' user = User.create! :username => 'user1', :email => 'user@example.com' puts 'New user created: ' << user.username user2 = User.create! :username => 'user2', :email => 'user2@example.com' puts 'New user created: ' << user2.username
Version data entries
10 entries across 10 versions & 1 rubygems