Sha256: 60cf397ee4e55480ba45e69be8f9cdc25403fa70383a8195d9fc77ca696d87bd

Contents?: true

Size: 609 Bytes

Versions: 93

Compression:

Stored size: 609 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

93 entries across 93 versions & 1 rubygems

Version Path
rollbar-2.18.2 spec/dummyapp/db/seeds.rb
rollbar-2.18.0 spec/dummyapp/db/seeds.rb
rollbar-2.17.0 spec/dummyapp/db/seeds.rb
rollbar-2.16.4 spec/dummyapp/db/seeds.rb
rollbar-2.16.3 spec/dummyapp/db/seeds.rb
rollbar-2.16.2 spec/dummyapp/db/seeds.rb
rollbar-2.16.0 spec/dummyapp/db/seeds.rb
rollbar-2.15.6 spec/dummyapp/db/seeds.rb
rollbar-2.15.5 spec/dummyapp/db/seeds.rb
rollbar-2.15.4 spec/dummyapp/db/seeds.rb
rollbar-2.15.3 spec/dummyapp/db/seeds.rb
rollbar-2.15.2 spec/dummyapp/db/seeds.rb
rollbar-2.15.1 spec/dummyapp/db/seeds.rb
rollbar-2.15.0 spec/dummyapp/db/seeds.rb
rollbar-2.14.1 spec/dummyapp/db/seeds.rb
rollbar-2.14.0 spec/dummyapp/db/seeds.rb
rollbar-2.13.3 spec/dummyapp/db/seeds.rb
rollbar-2.13.2 spec/dummyapp/db/seeds.rb
rollbar-2.13.1 spec/dummyapp/db/seeds.rb
rollbar-2.13.0 spec/dummyapp/db/seeds.rb