[英]Hide Rails Errors in production
How can i hide application errors in production mode and stop hem from showing to the users? 如何在生产模式下隐藏应用程序错误并阻止下摆显示给用户?
I want errors like this one not to show; 我希望这样的错误不显示;
can't convert Symbol into Integer
5: <%= f.hidden_field :reset_password_token %>
6: <%= f.input :password, autofocus: true, placeholder: "Password" %>
7: <%= f.input :password_confirmation, label: false, placeholder: "Confirm Password" %>
8: <%= f.input :submit , "Change Password" %>
9: <% end %>
10:
11: <%= render "devise/shared/links" %>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.