0

用户控制器中的运行时错误#user_dashboard

无法修改冻结数组

RAILS_ROOT: /home/pavan/projects/schoolify_options/canvas-lms
Application Trace | Framework Trace | Full Trace

/home/pavan/projects/schoolify_options/canvas-lms/app/models/account_notification.rb:36:in `reject!'
/home/pavan/projects/schoolify_options/canvas-lms/app/models/account_notification.rb:36:in `block in for_user_and_account'
/home/pavan/projects/schoolify_options/canvas-lms/lib/stubs/shard.rb:50:in `activate'
/home/pavan/projects/schoolify_options/canvas-lms/app/models/account_notification.rb:27:in `for_user_and_account'
/home/pavan/projects/schoolify_options/canvas-lms/app/controllers/users_controller.rb:294:in `user_dashboard'
/home/pavan/projects/schoolify_options/canvas-lms/app/controllers/application_controller.rb:120:in `set_locale'

要求

参数:

{"user_id"=>nil}

显示会话转储响应

标题:

{"Cache-Control"=>"no-cache",
 "X-Canvas-User-Id"=>"1",
 "Content-Type"=>""}
4

0 回答 0