.MD

Copy the markdown below:

ActionView::Template::Error

app/views/admin/statistics_essays/index.html.erb:85

undefined method 'top_10_external_essays' for an instance of Admin::StatisticsEssays

Backtrace

app/views/admin/statistics_essays/index.html.erb:85:in '_app_views_admin_statistics_essays_index_html_erb__2912394880758897536_22704'

Request

Name Admin::StatisticsEssaysController#index
Method GET
URL https://www.20aubac.fr/admin/statistics_essays
Browser FirefoxFirefox 149

Parameters

{
  "action": "index",
  "controller": "admin/statistics_essays"
}

Headers

Dnt 1
Host www.20aubac.fr
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer https://www.20aubac.fr/user/home
Sec-Gpc 1
Priority u=0, i
X-Real-Ip 86.253.18.50
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
X-Request-Id d856592f-86f3-41bc-aee9-0959fb29f42b
If-None-Match W/"fcbb64f164dedc7d7e760215bf644346"
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site same-origin
Sec-Fetch-User ?1
Accept-Encoding gzip, deflate, br, zstd
Accept-Language fr-FR,en-US;q=0.9,en;q=0.8
X-Forwarded-For 86.253.18.50
X-Request-Start t=1778854456.943
X-Forwarded-Port 443
X-Forwarded-Proto https
Upgrade-Insecure-Requests 1

Context

controller
#<Admin::StatisticsEssaysController:0x00007f6ab9d5a108>

Environment

os Linux 5.4.0-121-generic
cwd /app
pid 18
host app-20aubac-web-1
ruby ruby 4.0.1 (2026-01-13 revision e04267a14b) +YJIT +PRISM [x86_64-linux]
rails 8.1.2
revision 586f86b9819297fed014e135643867af57521690

Server

Load CPU RAM Swap Disk
app-20aubac-web-1 Load avg 49% CPU 32% RAM 93% Swap 20% Disk 41%

Deployments 1

586f86b9819297fed014e135643867af57521690 15 May 14:10