# Expected x to define y

**URL:** <https://www.ruby-forum.com/t/expected-x-to-define-y/168058>\
**Category:** Rails\
**Created:** [May 15, 2009, 11:54am UTC](https://www.ruby-forum.com/t/expected-x-to-define-y/168058 "2009-05-15T11:54:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irishfighter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b5e925/32.png) [@irishfighter](https://www.ruby-forum.com/u/irishfighter)\
**Post date:** [May 15, 2009, 11:54am UTC](https://www.ruby-forum.com/t/expected-x-to-define-y/168058/1 "2009-05-15T11:54:33Z")

</div>

Hi all,  
I’m getting this error. Does anyone have any idead what’s going on? I  
searched around and many people are having this error in controllers,  
but this one is in ht helpers directory for me.

Expected C:/work/trunk/stats/app/helpers/notifier.rb to define  
NOTIFIER

Any help appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![irishfighter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b5e925/32.png) [@irishfighter](https://www.ruby-forum.com/u/irishfighter)\
**Post date:** [May 15, 2009, 12:27pm UTC](https://www.ruby-forum.com/t/expected-x-to-define-y/168058/2 "2009-05-15T12:27:27Z")

</div>

On May 15, 10:53 am, irishfighter [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,  
> I’m getting this error. Does anyone have any idead what’s going on? I  
> searched around and many people are having this error in controllers,  
> but this one is in ht helpers directory for me.
> 
> Expected C:/work/trunk/stats/app/helpers/notifier.rb to define  
> NOTIFIER

Does notifier.rb define a constant called NOTIFIER ?

Fred
