Hey all,
All I wanted to do was convert a haml file to erb. After doing so, i get
an undefined method `render_sequence_nav’ error message. Even though no
such error happened when it was in haml format. I believe the culprit is
this line which I am converting incorrectly:
#fields << render_sequence_nav(sequence_info, students_path)
I converted it to this:
<%
render_sequence_nav(sequence_info,
students_path) %>
But Rails says
" syntax error, unexpected ‘<’, expecting kEND
; fields …
"
Thanks for any suggestions.
View this message in context:
http://old.nabble.com/undefined-method-error-appears-in-erb-but-not-haml-tp27734792p27734792.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.