All,
Rails 1.1.6
Ruby 1.8.6
Win XP
It appears that none of my rescue_action_* methods, if defined in my
application.rb file, are being called.
I’ve placed debug statements inside of the ActionController Rescue
module to verify that rescue_action is being called.
Here are my overrides in application.rb, none of which are being called
-
they are all protected visibility (these are just for debugging
purposes, so please no comments on how dumb they look ;]):def local_request?
puts “Calling custom local_request method”
false
enddef rescue_action_locally(exception)
puts “Calling custom rescue locally method”
enddef rescue_action_in_public(exception)
puts “rescue_action custom called”
render :text => "
There was a controller specfic error processing your request.
" endHas anyone seen this case where the rescue_action method in
ActionController::Rescue cannot successfully call any custom defined
methods in application.rb?
Thanks,
Wes