Minesweeper with Rails for the front end