diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-22 01:50:36 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-22 01:50:36 -0400 |
commit | 9c0e7d91ec76c44ca63f87b2bcd46ff16cacc38b (patch) | |
tree | 163b6c1eb5d9b97a8836f176e7d90f209458ce04 /db/seeds.rb | |
parent | d75fe3934366ea5e2581df6111c6bccdb77d1e95 (diff) | |
parent | aa8437947b28dda73bcfaf3caccb738e5e2f48b3 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index fe7c32e..a3637a8 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -25,7 +25,7 @@ Game.find_by_name("Rock, Paper, Scissors").settings.create(name: "Favorite Objec Game.find_by_name("Rock, Paper, Scissors").settings.create(name: "Lizard, Spock allowed?", description: "Will you allow Lizard and Spock?", stype: 4, display_order: 1) Game.find_by_name("Rock, Paper, Scissors").settings.create(name: "Why are those up there even called radio buttons?", description: "Check boxes make sense at least", type_opt: "I do not know.,There is now spoon.,Wow.,Because electricity.,Wat?", stype: 2, display_order: 3) -unless ENV["RAILS_ENV"] and ENV["RAILS_ENV"] != "development" +if Rails.env.development? User.create(name: "Administrator", user_name: "admin", email: "root@localhost.lan", password: "password", password_confirmation: "password", permissions: 0xFFFFFFFF) User.create(name: "John 0", password: "password", email: "john0@gmail.com", user_name: "johndoe0", password_confirmation: "password") |