# Where do you find load errors in view helper?

**URL:** <https://www.ruby-forum.com/t/where-do-you-find-load-errors-in-view-helper/192729>\
**Category:** Rails\
**Created:** [August 4, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/where-do-you-find-load-errors-in-view-helper/192729 "2010-08-04T15:45:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AppleII717](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Post date:** [August 4, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/where-do-you-find-load-errors-in-view-helper/192729/1 "2010-08-04T15:45:19Z")

</div>

This is rails3

I wrote a fairly complex view helper for one of my model and there is  
apparently a syntax error since the model did not load. I can’t find  
anywhere where the error would be logged.

In the console I pasted the method definitions, but it does not report  
errors unless called. The methods that do not rely on ActionView will  
work, but if I try to access ActionView calls, it is apparently not  
loaded since it will baulk at calls like “select\_tag”

From the console if I enter:

QuestionsHelper it returns =\> object (good helper)

AssessmentsHelper returns uninitialized constant, so it did not load.

Any ideas on how to debug this?

---

<div class="post-metadata">

**Author:** ![AppleII717](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Post date:** [August 4, 2010, 5:26pm UTC](https://www.ruby-forum.com/t/where-do-you-find-load-errors-in-view-helper/192729/2 "2010-08-04T17:26:37Z")

</div>

Forget it

I not only had the module name misspelled, I forgot the \_helper in the  
file name when I rewrote the helper.
