L
Louise Rains
I have an object called Survey. There is a haml file:
\views\surveys\index.html.haml.
The last line of the file is:
= render
artial => 'parameter_results', :locals =>{
ptions =>
chart_options
n, :age)
chart_options is in surveys_helper.rb. The error I'm getting is:
undefined method 'chart_options' for #<ActionView::Base:0x4603a28>
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
\views\surveys\index.html.haml.
The last line of the file is:
= render
chart_options
chart_options is in surveys_helper.rb. The error I'm getting is:
undefined method 'chart_options' for #<ActionView::Base:0x4603a28>
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