Ruby on Rails Friday, February 22, 2013

https://gist.github.com/907th/5013075


Rake task that allows you generate static error pages in public folder from layouts/exception partial.
Usage: rake exceptions:compile_error_pages RAILS_ENV=production.
Dependencies: colored gem for pretty output (https://rubygems.org/gems/colored), rails 3.2 (tested only for that version).

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ZAExytak_z0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment