5
我試圖做這樣的事情:如何設置會話的多維數組軌
session[:continent][:filter] = params[:filter]
,但它不工作,我得到這個錯誤:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.[]=