From: Louise Rains Date: 2010-08-10T08:24:12+09:00 Subject: haml view can't find helper function I have an object called Survey. There is a haml file: \views\surveys\index.html.haml. The last line of the file is: = render :partial => 'parameter_results', :locals =>{:options => chart_options(:n, :age) chart_options is in surveys_helper.rb. The error I'm getting is: undefined method 'chart_options' for # What gives? I thought the helper functions were always available to the view. Or is there something wrong with my haml statement? Thanks in advance. LG -- Posted via http://www.ruby-forum.com/.