I would be surprised if that even worked. You have access to game_id via params.require(:game_id).