Sha256: e74f8596e601cb092cce030171fbb21b37b82b66d49ce41546fe6b46e67fcb58

Contents?: true

Size: 724 Bytes

Versions: 39

Compression:

Stored size: 724 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! :name => 'First User', :email => 'user@example.com', :password => 'please', :password_confirmation => 'please'
puts 'New user created: ' << user.name
user2 = User.create! :name => 'Second User', :email => 'user2@example.com', :password => 'please', :password_confirmation => 'please'
puts 'New user created: ' << user2.name

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
ratchetio-0.7.1 spec/dummyapp/db/seeds.rb
ratchetio-0.7.0 spec/dummyapp/db/seeds.rb
ratchetio-0.6.3 spec/dummyapp/db/seeds.rb
ratchetio-0.6.1 spec/dummyapp/db/seeds.rb
ratchetio-0.6.0 spec/dummyapp/db/seeds.rb
ratchetio-0.5.5 spec/dummyapp/db/seeds.rb
ratchetio-0.5.3 spec/dummyapp/db/seeds.rb
ratchetio-0.5.2 spec/dummyapp/db/seeds.rb
ratchetio-0.5.1 spec/dummyapp/db/seeds.rb
ratchetio-0.5.0 spec/dummyapp/db/seeds.rb
ratchetio-0.4.11 spec/dummyapp/db/seeds.rb
ratchetio-0.4.10 spec/dummyapp/db/seeds.rb
ratchetio-0.4.9 spec/dummyapp/db/seeds.rb
ratchetio-0.4.8 spec/dummyapp/db/seeds.rb
ratchetio-0.4.7 spec/dummyapp/db/seeds.rb
ratchetio-0.4.6 spec/dummyapp/db/seeds.rb
ratchetio-0.4.5 spec/dummyapp/db/seeds.rb
ratchetio-0.4.4 spec/dummyapp/db/seeds.rb
ratchetio-0.4.3 spec/dummyapp/db/seeds.rb