當Ruby的model名字出錯時,在現實view時顯示錯誤的提示

weixin_33894992發表於2013-11-14
app/controllers/courses_controller.rb:1:in `<top (required)>'
app/controllers/courses_controller.rb:1:in `<top (required)>'

undefined method `key?' for nil:NilClass

相關文章