Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 82 #83

Merged
merged 6 commits into from
Jan 11, 2017
Merged

Issue 82 #83

merged 6 commits into from
Jan 11, 2017

Conversation

jameshochadel
Copy link
Contributor

Added a preliminary seed script for dev environment which sets up an in-progress game with 30 players, including 2 OZs.

Previously, the Game model could not get the current game in the dev environment for some reason. This change fixes it and slightly modifies the behavior of to_s so that its super call actually works.
Running rake db:seed will now add a game with 30 registered players.
Moved seed code to new file in db/seeds and set up seeds.rb to select correct file from seeds/ based on the Rails environment. Also added OZs to game and revealed them.
@jameshochadel jameshochadel merged commit 4f5557a into master Jan 11, 2017
@jameshochadel jameshochadel deleted the issue-82 branch January 12, 2017 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant