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-1.4.2 spec/dummyapp/db/seeds.rb
rollbar-1.4.1 spec/dummyapp/db/seeds.rb
rollbar-1.4.0 spec/dummyapp/db/seeds.rb
rollbar-1.3.2 spec/dummyapp/db/seeds.rb
rollbar-1.3.1 spec/dummyapp/db/seeds.rb
rollbar-1.3.0 spec/dummyapp/db/seeds.rb
rollbar-1.2.13 spec/dummyapp/db/seeds.rb
rollbar-1.2.12 spec/dummyapp/db/seeds.rb
rollbar-1.2.11 spec/dummyapp/db/seeds.rb
rollbar-1.2.10 spec/dummyapp/db/seeds.rb
rollbar-1.2.9 spec/dummyapp/db/seeds.rb
rollbar-1.2.8 spec/dummyapp/db/seeds.rb
rollbar-1.2.7 spec/dummyapp/db/seeds.rb
rollbar-1.2.6 spec/dummyapp/db/seeds.rb
rollbar-1.2.5 spec/dummyapp/db/seeds.rb
rollbar-1.2.4 spec/dummyapp/db/seeds.rb
rollbar-1.2.3 spec/dummyapp/db/seeds.rb
rollbar-1.2.2 spec/dummyapp/db/seeds.rb
rollbar-1.2.1 spec/dummyapp/db/seeds.rb
rollbar-1.2.0 spec/dummyapp/db/seeds.rb