This project is archived and is in readonly mode.
Requests to public files are being sent through the router in production env
-
Chris Mear
- Tag changed from 3.0.0.0rc, actioncontroller, routing to 3.0.0.0rc, actioncontroller, invalid, routing
Rails 3 has a new default config option in production:
config.serve_static_assets = false
which would cause the error you're seeing. (Normally in actual production you'd have a front-facing web server like Apache, which would handle the request for static files before it reached the Rails router, so you wouldn't get this error). So, I think this is intentional.
-
Michael Henriksen
Ah okay, sorry for that!
Thanks for your help :)
-
Rohit Arondekar
- State changed from new to invalid
- Importance changed from to Low