For the enlightenment of the group at large: I checked out Martin's code, and it turned out he had forgotten to add a "do" after the form_tag. However, he had still indented the child tags, so Haml had thought it was a block and added an "end" at the end, which caused Ruby to throw an error. This seems like a different issue than what Daniel was having, though, so if anyone is reproducing that on 1.4, please let me know.
- Nathan kleinman wrote: > Nathan: I understand that the error will not be there in Rails since > that helper > method will be resolved correctly. > > However that does not help me in discovering errors further down the > Haml file... > After removing the partials, I'm getting this: > (haml):39: (eval):128:in `compile': compile error (SyntaxError) > (eval):128: parse error, unexpected kEND, expecting $ from ./vendor/ > plugins/haml/bin/../lib/haml/engine.rb:393:in `compile' > from ./vendor/plugins/haml/bin/../lib/haml/engine.rb:190:in > `to_html' > from ./vendor/plugins/haml/bin/../lib/haml/exec.rb:150:in > `process_result' > from ./vendor/plugins/haml/bin/../lib/haml/exec.rb:22:in > `parse!' > from ./vendor/plugins/haml/bin/haml:8 > > The haml file is in your inbox. > Martin > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
