Verifique los rieles de ruta actual
current_uri = request.env['PATH_INFO']
BashForger
current_uri = request.env['PATH_INFO']