Open scottgast2007 opened 11 years ago
Navigate to Assets > Users > Delete > observe confirmation > click Yes > observe "NameError in Users#delete" message
Full Error: NameError in Users#delete
Showing /usr/local/asset_manager/releases/20130107004048/app/views/users/delete.html.erb where line #1 raised:
undefined local variable or method `user' for #<#Class:0x000000156894c0:0x0000001478e380>
Extracted source (around line #1):
1:
Rails.root: /usr/local/asset_manager/releases/20130107004048 Application Trace | Framework Trace | Full Trace
app/views/users/delete.html.erb:1:in `_app_views_users_delete_html_erb__2106422952054128434_179607960'
Request
Parameters:
{"user_id"=>"50759ef4330aec3a83000002"}
Session dump:
_csrf_token: "jevYnlQqQBzhhBh6i8H8+bte+nJuuadgiElkwC5c0UM=" session_id: "7ab3b4524308443feba4a930dd45e184" user_return_to: "/" warden.user.user.key: ["User", [BSON::ObjectId('507ddea9330aec27d2000044')], "$2a$10$wsmq2khT0akNdf0q0XbpX."] warden.user.user.session: {"last_request_at"=>2013-07-16 17:59:37 UTC}
Env dump:
HTTPACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8" HTTP_ACCEPT_ENCODING: "gzip, deflate" HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.5" REMOTE_ADDR: "216.55.28.118" SERVER_NAME: "assetmanager.medu.com" SERVER_PROTOCOL: "HTTP/1.1"
Navigate to Assets > Users > Delete > observe confirmation > click Yes > observe "NameError in Users#delete" message
Full Error: NameError in Users#delete
Showing /usr/local/asset_manager/releases/20130107004048/app/views/users/delete.html.erb where line #1 raised:
undefined local variable or method `user' for #<#Class:0x000000156894c0:0x0000001478e380>
Extracted source (around line #1):
1:
Delete Record
Rails.root: /usr/local/asset_manager/releases/20130107004048 Application Trace | Framework Trace | Full Trace
app/views/users/delete.html.erb:1:in `_app_views_users_delete_html_erb__2106422952054128434_179607960'
Request
Parameters:
{"user_id"=>"50759ef4330aec3a83000002"}
Session dump:
_csrf_token: "jevYnlQqQBzhhBh6i8H8+bte+nJuuadgiElkwC5c0UM=" session_id: "7ab3b4524308443feba4a930dd45e184" user_return_to: "/" warden.user.user.key: ["User", [BSON::ObjectId('507ddea9330aec27d2000044')], "$2a$10$wsmq2khT0akNdf0q0XbpX."] warden.user.user.session: {"last_request_at"=>2013-07-16 17:59:37 UTC}
Env dump:
HTTPACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8" HTTP_ACCEPT_ENCODING: "gzip, deflate" HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.5" REMOTE_ADDR: "216.55.28.118" SERVER_NAME: "assetmanager.medu.com" SERVER_PROTOCOL: "HTTP/1.1"