I’m new to Rails development and I have a question about handling an unknown action. What is the best way to handle that kind error?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do not handle it. If a user enters a wrong URL he will get a 404 error when you switch to production environment.
You get the exceptions only because you are in development environment.