.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/users_controller.rb:29:in `map'
app/controllers/api/v1/users_controller.rb:29:in `subscribes'

Request

Name Api::V1::UsersController#subscribes
Method GET
URL https://api.oblyk.org/api/v1/users/7acb9a07-eb4f-4917-a0f7-8f19817c21ef/subscribes.json?page=1
Browser FirefoxFirefox 152

Parameters

{
  "id": "7acb9a07-eb4f-4917-a0f7-8f19817c21ef",
  "page": "1",
  "action": "subscribes",
  "format": "json",
  "controller": "api/v1/users"
}

Headers

Dnt 1
Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a12dcf7aa8bce1d9-MRS
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 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.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.9,en-US;q=0.8,en;q=0.7
X-Forwarded-For 2a01:cb1c:1085:900:6c2e:8b7d:5170:895, 172.68.234.48
Cf-Connecting-Ip 2a01:cb1c:1085:900:6c2e:8b7d:5170:895
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

os Linux 6.12.94+deb13-cloud-amd64
cwd /var/www/oblyk/api/releases/20260628152612
pid 38626
host oblyk-api-2
ruby ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [x86_64-linux]
user oblyk
rails 6.0.6.1
revision f4942ce0f7f6526cf4e2fa876f9e213482de105c

Server

Load CPU RAM Swap Disk
oblyk-api-2 Load avg <1% CPU 2% RAM 32% Swap <1% Disk 3%

Deployments 6

Ajout d'index et d'un cache sur les "en quelques chiffres" d'oblyk clucien 28 Jun 15:26
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