rescue_action_in_public never executes

For the life of me, I cannot get the Exception Notification plugin to send email when in development mode. From what I can tell, ExceptionNotifiable.rescue_action_in_public never executes. If you have any thoughts, I'd love to hear them.

NOTES - I'm running Rails 2.0.2 - I've restarted Webrick several times - for testing purposes, I'm forcing rails to throw a NameError exception - I know ActionMailer has been setup properly as I can send mail through it.

# [environment.rb] Rails::Initializer.run do |config|    # ...    config.action_controller.consider_all_requests_local = false    # ... end ExceptionNotifier.exception_recipients = %w(user@website.com) ExceptionNotifier.sender_address = %w(service@website.com)

# [application.rb] class ApplicationController < ActionController::Base    local_addresses.clear end

My original post was missing a line of code. include ExceptionNotifiable is being used, and emails are still not being sent out.

# [environment.rb] Rails::Initializer.run do |config|    # ...    config.action_controller.consider_all_requests_local = false    # ... end ExceptionNotifier.exception_recipients = %w(u...@website.com) ExceptionNotifier.sender_address = %w(serv...@website.com)

# [application.rb] class ApplicationController < ActionController::Base    include ExceptionNotifiable    local_addresses.clear end

In case anyone reads this, the Rails project added the following line to environments/development.rb: config.action_controller.consider_all_requests_local = true

I had no idea it was even there. Commenting out # config.action_controller.consider_all_requests_local = true

and running

# [environment.rb] Rails::Initializer.run do |config|    # ...    config.action_controller.consider_all_requests_local = false    # ... end ExceptionNotifier.exception_recipients = %w(u...@website.com) ExceptionNotifier.sender_address = %w(serv...@website.com)

# [application.rb] class ApplicationController < ActionController::Base    include ExceptionNotifiable    local_addresses.clear end

WORKS!!