# Observer + Notifier give "Unprocessed view path found: nil"

**URL:** <https://www.ruby-forum.com/t/observer-notifier-give-unprocessed-view-path-found-nil/146043>\
**Category:** Rails\
**Created:** [August 16, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/observer-notifier-give-unprocessed-view-path-found-nil/146043 "2008-08-16T16:32:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEfusion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e68b1a/32.png) [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Post date:** [August 16, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/observer-notifier-give-unprocessed-view-path-found-nil/146043/1 "2008-08-16T16:32:00Z")

</div>

I have a UserObserver registered which handles sending the emails, via  
a UserNotifier, for user signup etc.

It works fine in my specs (well everything is being called as  
expected) however in the application if I call user.save I get the  
following error:

“Unprocessed view path found: nil. Set your view paths with  
#append\_view\_path, #prepend\_view\_path, or #view\_paths=.”

I’ve tried adding the following to my mailer:

ActionController::Base.view\_paths \<\< Rails.root + ‘/app/views’

But that doesn’t make any difference, I guess the observer is outside  
of the realm of the controller. I’m sure this was working a while back  
but doesn’t seem to be anymore (and I’ve made a lot of changes since  
then).

Any ideas?

---

<div class="post-metadata">

**Author:** ![DEfusion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e68b1a/32.png) [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Post date:** [August 18, 2008, 3:26pm UTC](https://www.ruby-forum.com/t/observer-notifier-give-unprocessed-view-path-found-nil/146043/2 "2008-08-18T15:26:40Z")

</div>

I figured out that this was an issue with a couple of plugins I have  
installed.

I’m using ARMailer to send the emails and I had also installed the  
exception\_notification plugin. It seems to be the  
exception\_notification plugin that causes the issue and my only  
solution was to disable this plugin for now (I have logged this issue  
here:  
[http://rails.lighthouseapp.com/projects/8995/tickets/30-exception\_notifiable-causes-unprocessed-view-path-found-nil-when-sending-any-other-emails](http://rails.lighthouseapp.com/projects/8995/tickets/30-exception_notifiable-causes-unprocessed-view-path-found-nil-when-sending-any-other-emails))

-D
