Forget it
I not only had the module name misspelled, I forgot the _helper in the
file name when I rewrote the helper.
On Aug 4, 8:44 am, AppleII717 <sa...-ee4meeAH724@public.gmane.org>
wrote:> 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?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.