.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/945264.json
Browser Samsung Browser 22

Parameters

{
  "id": "945264",
  "action": "update",
  "format": "json",
  "controller": "api/v1/ascent_gym_routes",
  "ascent_gym_route": {
    "id": 945264,
    "height": "4",
    "quantity": 2,
    "sections": [
      {
        "grade": null,
        "index": 0,
        "height": "3",
        "grade_value": null
      }
    ],
    "released_at": "2026-05-30",
    "ascent_status": "sent",
    "climbing_type": "bouldering",
    "color_system_line_id": 256
  }
}

Headers

Dnt 1
Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a0404698b970ff34-CDG
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/22.0 Chrome/111.0.5563.116 Mobile Safari/537.36
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.9,en-US;q=0.8,en;q=0.7
X-Forwarded-For 2001:863:233:a44b:6edb:7adf:351e:b010, 172.71.232.15
Cf-Connecting-Ip 2001:863:233:a44b:6edb:7adf:351e:b010
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

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

Server

Load CPU RAM Swap Disk
oblyk-api Load avg 4% CPU 5% RAM 62% Swap <1% Disk 89%

Deployments 5

Suppression de l'ancien système de feed clucien 05 Jun 13:38
Suppression de la procédure getRange pour la méthode native ST_DISTANCE_SPHERE clucien 04 Jun 18:12
Merge branch 'devel/statistic-gym-route' clucien 31 May 16:14
Ajout du type d'espace ou de secteur dans gym_embedded clucien 27 May 10:47
Même correctif quand précédement mais dans le détail des points clucien 29 Apr 16:51