.MD

Copy the markdown below:

ActiveRecord::RecordNotFound

app/controllers/posts_controller.rb:112

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

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/_next/image?q=75&url=http%3A%2F%2F169.254.169.254%2Flatest%2Fmeta-data%2F&w=1200
Browser Unknown Browser

Parameters

{
  "q": "75",
  "w": "1200",
  "id": "image",
  "url": "http://169.254.169.254/latest/meta-data/",
  "action": "show",
  "controller": "posts",
  "category_id": "_next"
}

Headers

Host whyruby.info
Accept */*
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Request-Id 8a95923f-bd84-42f2-b166-69598256f619
X-Kamal-Target 53d4cf1bf76f:80
Accept-Encoding gzip, br, zstd, deflate
X-Forwarded-For 216.73.216.209, 172.18.0.3
X-Request-Start t=1780070403198
X-Sendfile-Type X-Sendfile
X-Forwarded-Host whyruby.info
X-Forwarded-Port 443
X-Forwarded-Proto https

Context

controller
#<PostsController:0x00007e01d479ed80>

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 5% CPU 14% RAM 92% Swap 100% Disk 59%

Deployments 1

52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084 15 Apr 07:58