This project is archived and is in readonly mode.
Routing Errors won't get rescued properly
-
josh
- Milestone cleared.
- State changed from new to open
- Assigned user set to josh
-
josh
Ugh, I knew this was going to causes problems. Thanks for catching it and making the proper patch.
Any chance I could bother you to create some unit tests to go with it? :)
I don't want this to accidently break again.
-
LacKac
It was tricky since all of the
@controller,@requestand@responseinstance variables are ignored whencall_with_exceptionis called but eventually I came up with a test which is based on the return value of the method.It's attached. This also includes the fix so ignore my previous patch.
-
Repository
- State changed from open to resolved
(from [606176a55b90c27687ae17f40fd1af0a86b62246]) Fixed call_with_exception for Routing Errors [#1684 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
