If I tried to open a page which is not in public folder then it automatically creates that file and saves, why?
For Eg. If I hit http://localhost:3000/a5his.html then it creates a5his.html in public folder.
Isn’t there a way to avoid this?
Thanks.
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.
Maybe you have something like “caches_page” in your controller?
You should show us some more code, especially controller. I am almost sure that such behaviour is not the rails’ default way of life.