.MD

Copy the markdown below:

ActiveRecord::RecordNotFound

app/controllers/posts_controller.rb:112

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

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://rubycommunity.org/articles/rails-console-shortcuts-tips-and-tricks
Browser ChromeChrome 150

Parameters

{
  "id": "rails-console-shortcuts-tips-and-tricks",
  "action": "show",
  "controller": "posts",
  "category_id": "articles"
}

Headers

From googlebot(at)googlebot.com
Host rubycommunity.org
Accept text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8
User-Agent Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.7871.46 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
X-Request-Id 0a1ec9e7-be1a-4346-89e4-d8f1787813be
X-Kamal-Target 53d4cf1bf76f:80
Accept-Encoding gzip, deflate, br
X-Forwarded-For 66.249.64.9, 172.18.0.3
X-Request-Start t=1783116982975
X-Sendfile-Type X-Sendfile
X-Forwarded-Host rubycommunity.org
X-Forwarded-Port 443
X-Forwarded-Proto https
Amp-Cache-Transform google;v="1..8"

Context

controller
#<PostsController:0x00007e01cb624120>

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 37% CPU 16% RAM 98% Swap 100% Disk 67%

Deployments 1

52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084 15 Apr 07:58