.MD

Copy the markdown below:

ActionView::Template::Error

app/helpers/yard_helpers.rb:50

undefined method `join' for nil

Backtrace

app/helpers/yard_helpers.rb:50:in `option_tag'
app/helpers/yard_helpers.rb:38:in `block in option_tags'
app/helpers/yard_helpers.rb:38:in `map'
app/helpers/yard_helpers.rb:38:in `option_tags'
app/helpers/yard_helpers.rb:17:in `block in yard_docs'
app/helpers/yard_helpers.rb:14:in `each'
app/helpers/yard_helpers.rb:14:in `map'
app/helpers/yard_helpers.rb:14:in `yard_docs'
app/components/method_details.html.erb:11:in `call'
app/views/gems/methods/show.html.erb:7:in `block in _app_views_gems_methods_show_html_erb__3498511825746032116_53080'
app/components/gems/wrapper.html.erb:89:in `call'
app/views/gems/methods/show.html.erb:3:in `_app_views_gems_methods_show_html_erb__3498511825746032116_53080'
vendor/ruby-3.3.0/lib/ruby/3.3.0/benchmark.rb:313:in `realtime'
app/controllers/gems/instance_methods_controller.rb:12:in `show'

Request

Name Gems::InstanceMethodsController#show
Method GET
URL https://gem.sh/gems/money/v6.14.0/classes/Money/instance_methods/initialize
Browser OperaOpera 107

Parameters

{
  "id": "initialize",
  "gem": "money",
  "action": "show",
  "version": "6.14.0",
  "class_id": "Money",
  "controller": "gems/instance_methods"
}

Headers

Via 1.1 heroku-router
Host gem.sh
Accept */*
Server Heroku
Version HTTP/1.1
Sec-Ch-Ua "Not A(Brand";v="99", "Opera";v="107", "Chromium";v="121"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0
X-Request-Id 82c8c0a1-3542-ac20-53a8-a5bdcfc9203c
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site cross-site
Accept-Encoding gzip, deflate, br
Accept-Language en-SH,en;q=0.8
X-Forwarded-For 200.88.84.26
X-Request-Start 1776213839239
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Port 443
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "Windows"

Environment

os Linux 5.15.0-1103-aws
cwd /app
pid 15
host web.1
ruby ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
rails 7.1.3.4

Server

Load CPU RAM Swap Disk
web.1 Load avg 67% CPU 19% RAM 41% Swap 2% Disk 100%