.MD

Copy the markdown below:

ActiveRecord::RecordNotFound

app/controllers/posts_controller.rb:112

Couldn't find Category with 'id'="remote"

Backtrace

app/controllers/posts_controller.rb:112:in 'PostsController#set_post'
lib/middleware/malicious_path_blocker.rb:45:in 'Middleware::MaliciousPathBlocker#call'

Request

Name PostsController#show
Method GET
URL https://whyruby.info/remote/login
Browser ChromeChrome 123

Parameters

{
  "id": "login",
  "action": "show",
  "controller": "posts",
  "category_id": "remote"
}

Headers

Host whyruby.info
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Pragma no-cache
Referer https://whyruby.info/
X-Real-Ip ::1
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
X-Client-Ip ::1
X-Remote-Ip ::1
X-Request-Id 429a8f6a
Cache-Control no-cache
X-Remote-Addr ::1
True-Client-Ip ::1
X-Kamal-Target 53d4cf1bf76f:80
Accept-Encoding gzip
Accept-Language en-US,en;q=0.9
X-Forwarded-For 93.123.109.167, 172.18.0.3
X-Request-Start t=1781283452127
X-Sendfile-Type X-Sendfile
Cf-Connecting-Ip ::1
Fastly-Client-Ip ::1
X-Forwarded-Host whyruby.info
X-Forwarded-Port 443
X-Originating-Ip ::1
X-Forwarded-Proto https
X-Cluster-Client-Ip ::1

Context

controller
#<PostsController:0x00007e01cfd92958>

Environment

os Linux 6.8.0-106-generic
cwd /rails
pid 24
host whyruby.info-1a9c2d0bc983
ruby ruby 4.0.1 (2026-01-13 revision e04267a14b) +YJIT +PRISM [x86_64-linux]
rails 8.2.0.alpha
revision 52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084

Server

Load CPU RAM Swap Disk
whyruby.info-1a9c2d0bc983 Load avg 28% CPU 25% RAM 97% Swap 100% Disk 62%

Deployments 1

52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084 15 Apr 07:58