diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-06 23:30:47 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-06 23:30:47 -0400 |
commit | 3602d46e95f9a13ec2a8ff0b0909059af64c55ba (patch) | |
tree | 1dbf1149e8f6915f0c07b7a9aef1bf790a7b41c5 /db/seeds.rb | |
parent | 2d097c71a32646fce3b90608cbffde9992c979ef (diff) | |
parent | edec37791164f1c32c8071784a8a02aa63afae55 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index 6efc3e7..a6ddf11 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -16,6 +16,7 @@ Game.create(name: "Hearthstone", min_players_per_team: 1, max_players_per_team: Game.find_by_name("League of Legends").settings.create(name: "Map", default: "Summoners Rift", type_opt: "Summoners Rift,Twisted Treeline,Crystal Scar,Haunted Abyss", description: "Select a map to play on.", stype: 5, display_order: 1) Game.find_by_name("League of Legends").settings.create(name: "Pick Type", type_opt: "Blind Pick,Draft", description: "Select a pick type.", stype: 5, display_order: 2) -#Game_setting.create(game_id: , type: , name: , default: , description: , type_opt: , display_order: , created_at: , updated_at: ) +Game.find_by_name("Chess").settings.create(name: "Time Control", description: "Enter a value for Time Control (ie. 5-5, 30, 6hr, or None)", stype: 1, display_order: 1) + +Game.find_by_name("Hearthstone").settings.create(name: "Deck Name", description: "Enter a name for your deck, be descriptive.", stype: 2, display_order: 1) -#User.create(id: 1, name: "Andrew", email: "amurrel@example.com", user_name: "ImFromNASA", created_at: "2014-03-07 22:48:53", updated_at: "2014-03-07 22:48:53", password_digest: "$2a$10$W0FwPRDzdQp8arolCHGt5ezXqkOiTLNsXI5GKGtu9qr3...", remember_token: "1583722b02663e024533296171cad79f29037ebc", groups: 0) |