[x] With check boxes for the tasks and any subtasks you can identify
[x] Estimates for the top-level checkboxes
[ ] Update your TIY-Assignments wiki _(S)_
[x] Create a branch in your TIY-Assignments repo, named appropriately _(S)_
[x] turn the following in in a new branch off of master, in a folder called active_record-2
[x] city.rb and state.rb files with appropriate validations
[x] team.rb, coach.rb, and game.rb files with appropriate validations and methods as described below
[ ] step_2.html
[x] A Pull Request in your TIY-Assignments folder as on previous assignments _(S)_
[x] Comments on your WIP Issue as on previous assignments _(S)_
[x] Link to Wiki
[x] Link to Pull Request (in Markdown)
[x] Create Coach class and a migration for it _(M)_
[x] The coach should have a name and a team.
[x] Create a Game class and a migration for it. _(M)_
[x] A game should have a date, a home team, an away team, and scores for each.
[ ] Next Steps _(XL)_
[x] Add coaches for every team that made the playoffs, every game for the last week of the regular season, and every game for one specific team. (Either your favorite or not the Patriots.)
[ ] Define Team#won? which should say whether a team won a particular game. Test it against the data you entered.
[ ] Define Team#opponents, which should return every team a team played during the season.
[ ] Define Coach#beat?, which should say whether a coach beat another team. Extend the method to be able to say whether a coach beat another team, or whether a coach beat another coach.
[ ] Add validations for each class as appropriate. (You'll have to read up on what kind of validations are available.) Attempt to create an object that should fail the validation to ensure the validation is structured correctly.
[ ] Another step in the HTML document: take step_2.html and make it look like step_2_after.png
Tasks
TIY-Assignments
wiki _(S)_TIY-Assignments
repo, named appropriately _(S)_active_record-2
city.rb
andstate.rb
files with appropriate validationsteam.rb
,coach.rb
, andgame.rb
files with appropriate validations and methods as described belowstep_2.html
TIY-Assignments
folder as on previous assignments _(S)_