diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 8856530b6e..5d6907498f 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net] + * rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com] * Ensure the logger is initialized. #5629 [mike@clarkware.com] diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index 6290be3774..f43dc9f4c8 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -39,7 +39,7 @@ class Dispatcher end rescue Object => exception failsafe_response(output, '500 Internal Server Error', exception) do - ActionController::Base.process_with_exception(request, response, exception).out(output) + ActionController.process_with_exception(request, response, exception).out(output) end ensure # Do not give a failsafe response here. |