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
rollbar-0.10.1 spec/dummyapp/db/seeds.rb
rollbar-0.10.0 spec/dummyapp/db/seeds.rb
rollbar-0.9.14 spec/dummyapp/db/seeds.rb
rollbar-0.9.13 spec/dummyapp/db/seeds.rb
rollbar-0.9.12 spec/dummyapp/db/seeds.rb
rollbar-0.9.11 spec/dummyapp/db/seeds.rb
rollbar-0.9.10 spec/dummyapp/db/seeds.rb
rollbar-0.9.9 spec/dummyapp/db/seeds.rb
rollbar-0.9.8 spec/dummyapp/db/seeds.rb
rollbar-0.9.7 spec/dummyapp/db/seeds.rb
rollbar-0.9.6 spec/dummyapp/db/seeds.rb
rollbar-0.9.4 spec/dummyapp/db/seeds.rb
rollbar-0.9.3 spec/dummyapp/db/seeds.rb
rollbar-0.9.2 spec/dummyapp/db/seeds.rb
rollbar-0.9.1 spec/dummyapp/db/seeds.rb
rollbar-0.9.0 spec/dummyapp/db/seeds.rb
rollbar-0.8.3 spec/dummyapp/db/seeds.rb
rollbar-0.8.2 spec/dummyapp/db/seeds.rb
rollbar-0.8.1 spec/dummyapp/db/seeds.rb
rollbar-0.8.0 spec/dummyapp/db/seeds.rb