From: David Heinemeier Hansson Date: 2005-04-14T20:28:47+09:00 Subject: Re: rails: helper methods not found > I'm trying to use helpers in my controller, but they're not turning up. > > NoMethodError in Switcher#index Helpers are _view_ helpers. The controller doesn't have access to the methods defined in the helpers. Also, since you're following the default naming convention, you don't need to be explicit with "helper :switcher". That'll happen automatically. -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.loudthinking.com/ -- Broadcasting Brain