.MD

Copy the markdown below:

NoMethodError

app/controllers/api/v1/users_controller.rb:107

undefined method `public_profile' for nil:NilClass

Backtrace

app/controllers/api/v1/users_controller.rb:107:in `protected_private_profile'

Request

Name Api::V1::UsersController#show
Method GET
URL https://api.oblyk.org/api/v1/users/jessica-cecillon.json
Browser SafariSafari 537

Parameters

{
  "id": "jessica-cecillon",
  "action": "show",
  "format": "json",
  "controller": "api/v1/users"
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a0ba42d26af400b5-CDG
Version HTTP/1.0
Cdn-Loop cloudflare; loops=2
Priority u=0, i
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; TikTokSpider; ttspider-feedback@tiktok.com)
Cf-Ipcountry FR
Authorization [FILTERED]
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip, br
Accept-Language en-US,en;q=0.5
X-Forwarded-For 47.128.117.250, 172.70.208.140,185.163.125.60, 172.71.122.15
Cf-Connecting-Ip 185.163.125.60
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]
Upgrade-Insecure-Requests 1

Environment

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

Server

Load CPU RAM Swap Disk
oblyk-api Load avg 4% CPU 5% RAM 51% Swap <1% Disk 44%

Deployments 6

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
On transfert les workers vers les jobs comme ça aurai dû l'être depuis le début clucien 08 Jun 17:55
Suppression de l'ancien système de feed clucien 05 Jun 13:38
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