diff --git a/app/models/play.rb b/app/models/play.rb index 0eb6332..bf73c68 100644 --- a/app/models/play.rb +++ b/app/models/play.rb @@ -30,8 +30,9 @@ class Play < ActiveRecord::Base if self.game.play_to_beat # current player is not the player to beat if (self.game.player_to_beat != self.player) + # hand_type match? @truths << (self.hand_type == self.game.play_to_beat.play.hand_type) - # Compare this hand to the hand_to_beat, + # beats? @truths << (self.beats? self.game.play_to_beat.play) end end