.MD

Copy the markdown below:

NoMethodError

app/models/follow.rb:52

undefined method `summary_to_json' for nil:NilClass

Backtrace

app/models/follow.rb:52:in `detail_to_json'
app/models/follow.rb:44:in `summary_to_json'
app/controllers/api/v1/current_users_controller.rb:76:in `map'
app/controllers/api/v1/current_users_controller.rb:76:in `favorite_crags'

Request

Name Api::V1::CurrentUsersController#favorite_crags
Method GET
URL https://api.oblyk.org/api/v1/current_users/favorite_crags.json?page=1
Browser ChromeChrome 148

Parameters

{
  "page": "1",
  "action": "favorite_crags",
  "format": "json",
  "controller": "api/v1/current_users"
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a02ac99f780199ac-CDG
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=1, i
Save-Data on
Sec-Ch-Ua "Chromium";v="148", "Google Chrome";v="148", "Not/A)Brand";v="99"
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.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,it-IT;q=0.6,it;q=0.5
X-Forwarded-For 2a0d:e487:31f:81bb:215e:15f5:c18:7920, 104.23.225.73
Cf-Connecting-Ip 2a0d:e487:31f:81bb:215e:15f5:c18:7920
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/20260527104736
pid 1635229
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 2% CPU 3% RAM 27% Swap <1% Disk 88%

Deployments 5

Ajout du chemin vers le spaces pour le eagerloading clucien 26 Jun 10:28
Revert "Mise à jour vers ruby 2.7.8, correction des dépréciations, mise à jour de gem" clucien 15 Jun 07:21
Merge pull request #32 from oblyk/chore/brevo-gem Lucien Chastan 11 Jun 07:20
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