Re: [Rails] undefined method error appears in erb but not haml

2010-02-28 Thread Michael Pavling
On 28 February 2010 13:00, JohnMerlino wrote: > I converted it to this: >                <% fields << > render_sequence_nav(sequence_info, > <%= render_sequence_nav(sequence_info, students_path) %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] undefined method error appears in erb but not haml

2010-02-28 Thread JohnMerlino
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_sequenc

[Rails] undefined method error appears in erb but not haml

2010-02-25 Thread John Merlino
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