.MD

Copy the markdown below:

TypeError

app/controllers/api/v1/ascent_gym_routes_controller.rb:207

no implicit conversion of Symbol into Integer

Backtrace

app/controllers/api/v1/ascent_gym_routes_controller.rb:207:in `fetch'
app/controllers/api/v1/ascent_gym_routes_controller.rb:207:in `update'

Request

Name Api::V1::AscentGymRoutesController#update
Method PUT
URL https://api.oblyk.org/api/v1/ascent_gym_routes/873401.json
Browser FirefoxFirefox 140

Parameters

{
  "id": "873401",
  "action": "update",
  "format": "json",
  "controller": "api/v1/ascent_gym_routes",
  "ascent_gym_route": {
    "id": 873401,
    "height": 4,
    "quantity": 7,
    "sections": [
      {
        "grade": null,
        "index": 0,
        "height": 4,
        "grade_value": null
      }
    ],
    "released_at": "2026-04-15",
    "ascent_status": "sent",
    "climbing_type": "bouldering",
    "color_system_line_id": 164
  }
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray 9ed429c76a193ca5-CDG
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=0
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0
Cf-Ipcountry FR
Authorization [FILTERED]
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site same-site
Accept-Encoding gzip, br
Accept-Language fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
X-Forwarded-For 171.16.210.2, 172.71.135.29
Cf-Connecting-Ip 171.16.210.2
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

os Linux 5.10.0-14-cloud-amd64
cwd /var/www/oblyk/api/releases/20260328082937
pid 2296423
host oblyk-api
ruby ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
user oblyk
rails 6.0.3.6
revision a02804b018e5fe56103bb8df4dbc729ec9f0ded6

Server

Load CPU RAM Swap Disk
oblyk-api Load avg 2% CPU 4% RAM 56% Swap <1% Disk 88%

Deployments 4

Même correctif quand précédement mais dans le détail des points clucien 29 Apr 16:51
Ajout fichier de serializer clucien 24 Apr 14:44
Autorise le sous domain embedded et next-embedded à consulter en get les ressourdes de l'url api/embedded clucien 19 Apr 13:58
Ajout d'un alias de first_name vers name pour l'envoie des publications par email clucien 28 Mar 08:29