Hacker News new | past | comments | ask | show | jobs | submit login

Absolutely. I'm talking about things that should 404 are actually raising exceptions. E.g. https://feedi.me/popular. I hit this link by mistake but that should return a 404 and not the exception page from Rails.



This generally happens because config.consider_all_requests_local is set to true in production env. By default it should only be true in development and test.


yes because the correct request is https://feedi.me/feeds/popular not "https://feedi.me/popular"


Yes I understand that. But visiting your Rails app shouldn't bubble up the debugging info to your visitor in production.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: