# ExceptionNotifier in development mode

**URL:** <https://www.ruby-forum.com/t/exceptionnotifier-in-development-mode/182178>\
**Category:** Rails\
**Created:** [January 24, 2010, 5:33am UTC](https://www.ruby-forum.com/t/exceptionnotifier-in-development-mode/182178 "2010-01-24T05:33:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [January 24, 2010, 5:33am UTC](https://www.ruby-forum.com/t/exceptionnotifier-in-development-mode/182178/1 "2010-01-24T05:33:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [January 25, 2010, 1:06pm UTC](https://www.ruby-forum.com/t/exceptionnotifier-in-development-mode/182178/2 "2010-01-25T13:06:39Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
