{"push_id":1227138300,"size":1,"distinct_size":1,"ref":"refs/heads/database2","head":"19ae4584d0c3d2e5d1510de36597284c23e92a37","before":"70ec5eadecf172b3dea171d859e632cfcd11d8c5","commits":[{"sha":"19ae4584d0c3d2e5d1510de36597284c23e92a37","author":{"name":"Joshua Tan","email":"6db3cf24b5621e7a4a13253fd73bec94aa8b6cf8@gmail.com"},"message":"Set up associations between User and Games\n\nIn Games.rb\n- Create belongs_to relationship with white_player\n- Create belongs_to relationship with black_player\n\nIn User.rb\n- Create has_many relationship with white_player_games\n- Create has_many relationship with black_player_games\n- Method to return all games user is involved in. (has_many :games won't work because we have 2keys in our games table (white_player_id and black_player_id) pointing to the same User model","distinct":true,"url":"https://api.github.com/repos/Team-Chess-Fusion/chess-fusion/commits/19ae4584d0c3d2e5d1510de36597284c23e92a37"}]}
{"actor":{"display_login":"tohyung85"}}