








Controller 代码
class CveController < ApplicationController
def index
@cves = Cve.all
end
def show
@cve = Cve.find_by(cve_id: params[:cve_id])
end
end
异常信息
Showing app/views/cve/index.html.erb where line #3 raised:
no implicit conversion of nil into String
Extracted source (around line #3):
Find me in app/views/cve/index.html.erb
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。