Insert BetterErrors rack middleware after ActionDispatch::ShowExceptions in the railtie
Should be ActionDispatch::DebugExceptions instead of ShowExceptions
Merge pull request #104 from loopj/railtie-middleware-order

Insert BetterErrors rack middleware after ActionDispatch::DebugExceptions in the railtie