I couldn’t see 500 error when I accessed a URL for which there is no Data, rather it was showing the ‘Template missing’ error. At the same time, when I ran it at the server, it had shown the 500 error. I need to do testing at local machine. So please tell me how I can create such a situation at localhost?
Thanks & Regards,
Rajesh
You can create such situation in localhost if you run the server in production mode:
rails s -e production(Of course, if the error is still present)