.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/binch.json
Browser ChromeChrome 142

Parameters

{
  "id": "binch",
  "action": "show",
  "format": "json",
  "controller": "api/v1/users"
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray 9f744eb7d925468e-CDG
Version HTTP/1.0
Cdn-Loop cloudflare; loops=2
Priority u=0, i
Sec-Ch-Ua "Not_A Brand";v="99", "Chromium";v="142"
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
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 zh-CN,zh;q=0.9
X-Forwarded-For 2409:8754:9330:0:122:238:118:214, 172.68.22.155,185.163.125.60, 104.23.225.73
Cf-Connecting-Ip 185.163.125.60
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]
Sec-Ch-Ua-Platform "Windows"
Upgrade-Insecure-Requests 1

Environment

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

Server

Load CPU RAM Swap Disk
oblyk-api Load avg <1% CPU 2% RAM 69% Swap <1% Disk 88%

Deployments 4

Même correctif quand précédement mais dans le détail des points clucien 29 Apr 16:51
Ajout fichier de serializer clucien 24 Apr 14:44
Autorise le sous domain embedded et next-embedded à consulter en get les ressourdes de l'url api/embedded clucien 19 Apr 13:58
Ajout d'un alias de first_name vers name pour l'envoie des publications par email clucien 28 Mar 08:29