.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/952593.json
Browser Samsung Browser 30

Parameters

{
  "id": "952593",
  "action": "update",
  "format": "json",
  "controller": "api/v1/ascent_gym_routes",
  "ascent_gym_route": {
    "id": 952593,
    "height": "13",
    "quantity": 1,
    "sections": [
      {
        "grade": "5b",
        "index": 0,
        "height": 10,
        "grade_value": 27
      }
    ],
    "released_at": "2026-06-03",
    "ascent_status": "sent",
    "climbing_type": "sport_climbing"
  }
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a05f3b32dc60008e-CDG
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=1, i
Sec-Ch-Ua "Samsung Internet";v="30.0", "Chromium";v="143", "Not A(Brand";v="24"
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/30.0 Chrome/143.0.0.0 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 2a02:8440:a500:649b:40b8:d7bf:4a88:fecd, 172.71.122.14
Cf-Connecting-Ip 2a02:8440:a500:649b:40b8:d7bf:4a88:fecd
Sec-Ch-Ua-Mobile ?1
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]
Sec-Ch-Ua-Platform "Android"

Environment

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

Server

Load CPU RAM Swap Disk
oblyk-api Load avg <1% CPU 3% RAM 59% Swap <1% Disk 44%

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