Browse files

Was writing half markdown and half rdoc. Hopefully fixed

  • Loading branch information...
eric1234 committed Oct 18, 2012
1 parent fea2f03 commit 47a8f0dc0bfb6fb85204c27d15e54a9ee8f8755f
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.rdoc
@@ -1,11 +1,11 @@
Tired of seeing this screen.
= The Problem
It is just a static file. So if you have the time you can craft a
-(cute error message)[]. But
+{cute error message}[]. But
you are pumping through applications and you don't have time to provide
a custom error for each app. So you leave the default. It is jarring as
it doesn't fit with the the site you have created. Wouldn't it be great
@@ -93,7 +93,7 @@ Rails 3.2 finally brought an end to this madness by allowing an
application to define a Rack application which will handle errors. This
application can examine both the HTTP status and the actual exception
to determine the best UI to present. It even included
-[a default app](
+{a default app}[]
that reproduced the historical behavior of Rails.
This default app is pretty simple. It only looks at the HTTP status
@@ -102,12 +102,12 @@ through a fairly simple workflow:
* Gems (including core ones like ActiveRecord) register exception
classes, such as
- [ActiveRecord::RecordNotFound](
+ {ActiveRecord::RecordNotFound}[]
- [config.action_dispatch.rescue_responses](
+ {config.action_dispatch.rescue_responses}[]
to map an exception to a HTTP symbol.
* The HTTP symbols are
- [defined by rack](
+ {defined by rack}[]
to produce the final number.
The default app just looks at the resulting number and reads the file

0 comments on commit 47a8f0d

Please sign in to comment.