rails/rails — pull request #12089 by yonbergman (2013-08-30 13:59:17+00:00)
Title: Fix #11679 - Can't manage cookies in custom errors

Changed the order of middleware stacks, moved the
show exceptions middleware under the cookies and flash middleware
so that custom exception application can change the cookie and flash

*yonbergman*