Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for styled static 500 error pages via opt-in undigested #274

Closed
johannesluedke opened this issue Sep 23, 2015 · 2 comments
Closed

Comments

@johannesluedke
Copy link

In rails I want to use a styled static 500/404 error page. The best way to do this was to use undigested assets for css, js and logo files which used to be generated in Rails 3.x. I read issue #49 and am aware of the "caching old version forever" bug, but I think for the 500 error page this is a trade-off, which the developer should decide about.

The current best solution as suggested in #49 and bibwild.wordpress.com/2014/10/02/non-digested-asset-names-in-rails-4-your-options seems to be to write a custom rake task and wire it up indiviudally with ones capistrano setup. I am not quite happy that this should be the only official solution to deal with scenario.
I think the use case to want to have styled 500 error page without manual asset duplication is quite common (which application wouldn't want to have it?). If there is a better way for styled 500 error pages without manual asset duplication I am also happy to learn about it.

I would wish for a white list option to have undigested asset files.

@rafaelfranca
Copy link
Member

This will be fixed with #239

@johannesluedke
Copy link
Author

Cool, so it will be dealt with in #239 👍

Thanks for your efforts for rails!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants