albertlyu / shot-charts-site

A Rails web application for visualizing NCAA men's basketball play-by-play shot location data
MIT License
3 stars 1 forks source link

Fix associations between team, player, play models #15

Closed albertlyu closed 10 years ago

albertlyu commented 10 years ago

Fix associations between team, player, play models so that we can implement Rails 'shortcuts' to grab plays associated with a player, players associated with a team, etc. Also may have to rename the Playergame model to PlayerGame (playergame.rb to player_game.rb, etc.).

Follow the convention set in the Rails app here: https://github.com/albertlyu/rails-workshop/tree/master/store.

albertlyu commented 10 years ago

This was fixed by bc1d60b3140f4c5ee80b8e890f801c17d082dcaa. I just forgot to close the issue via the commit message.