Please sign in to comment.
Add a way to pass a specific message down through the stack.
I have no clue how to test this, but to use it: rescue_from Canable::Transgression, transgression def transgression(exception) flash[:notice] = exception.message redirect_to root_url end
- Loading branch information...
Showing with 15 additions and 2 deletions.