ExceptionNotifier in development mode

I don’t seem to be happening here…

config/environments/development.rb set…
config.action_controller.consider_all_requests_local = false

application_controller.rb has…
include ExceptionNotifiable

and in script/console, I can see that…
ExceptionNotifier.raise_delivery_errors (false)
ExceptionNotifier.smtp_settings (as set in initializers/mailer.rb)
ExceptionNotifier.sender_address (arbitrary but valid)
ExceptionNotifier.perform_deliveries (true)
ExceptionNotifier.exception_recipients (me)

Thus everything seems to be as expected and mail is working because
Authlogic is sending ‘activation’ e-mails just fine.

Is there some other magic incantation that I am missing?

Craig


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

From the README file:

"Email notifications will only occur when the IP address is determined
not to
be local. … The address “127.0.0.1” is always considered local. If
you want to completely
reset the list of all addresses (for instance, if you wanted “127.0.0.1”
to
NOT be considered local), you can simply do, somewhere in your
controller:

local_addresses.clear
"

Tried this?

/Kristian

2010/1/24 Craig W. [email protected]:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs