ActiveRecord::RecordNotFound in CategoriesController#show

can't find record with friendly id: "character-design"

Extracted source (around line #9):
7
8
9
10
11
12
              
def show
if params[:id] != 'uncategorized'
@category = Category.friendly.find(params[:id])
@articles = @category.articles.paginate(page: params[:page], per_page: 32).order(created_at: :desc)
else
@category = Category.new(title: t(:uncategorized))

Rails.root: /var/www/online-portfolio/releases/20210819090242

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"character-design"}

Response

Headers:

None