Using helper which is placed outside of /app/helpers?

Hi,

WE wanted to load a helper outside of app/helpers.
Actually our helpers is placed in lib/commoncode/ for
the ruby classes, we can simply use require
“commoncode/myclass”, but we can not do the same
things with the helpers, we try:

helper ‘commoncode/ourhelpername’ → error
helper :commoncode/ourhelpername → error

Does someone know how to do this???

Thanks you very much

Saiho

The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Hi,

WE wanted to load a helper outside of app/helpers.
Actually our helpers is placed in lib/commoncode/ for
the ruby classes, we can simply use require
“commoncode/myclass”, but we can not do the same
things with the helpers, we try:

helper ‘commoncode/ourhelpername’ → error
helper :commoncode/ourhelpername → error

Does someone know how to do this???

Thanks you very much

Saiho

The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around