Tic Tac Toe in Rails