Rails version of Tic Tac Toe