I defined a method in application_helper.rb and then tried to call it from a partial, and I get 'undefined method'. So I tried to call it from the layout, and then from the template that content_for_layout uses for the controller I'm working on... all the same, undefined method.
Is there something extra I have to do?
You've tried restarting the web server, right? Are you running on WEBrick or something else?
Yup, I restarted it... and I am currently using WEBrick.
I wonder if I have this person's problem: http://www.html.com/forums/ruby/5907...lper-path.html
No typo? (just to be sure). It the method private or protected?
I looked for a typo, and I'm not seeing one -- doesn't mean there isn't one!
Not private or protected.