Displaying 1 result from an estimated 1 matches for "s1v2ccspqdaj".
2006 Aug 16
4
Accessing Constants Declared in Helper Modules
...t explicitly like this: `MyHelperName::CONSTANT`, but this
seems to defeat the elegance of using helpers in the first place.
My current solution is to wrap the constant in a method defined in the
helper file. Is there a way around this? I noticed this ticket
(http://72.14.209.104/search?q=cache:s1V2CcSpQDAJ:dev.rubyonrails.org/ticket/1790+rails+ticket+1790&hl=en&gl=us&ct=clnk&cd=1&client=safari)
describing what seems to be my problem, but it was posted a year ago and
I''m currently running Rails 1.1.6.
Is this a known bug? Am I doing something wrong? I was trying to foll...