Simple and safe way to dynamically render error pages for Rails apps