Good Question.  Haml doesn't say but one of our other programmers
found a -end in one of the templates.  I remember reading that -end is
no longer valid.  It turns out our code looked like:

-form_for ...
 ...
-end unless some_condition

I think the error of 3 args for 1 is coming from the -end has 2 more
args "unless some_condition" and therefore we get the 3 args for 1
error.  Changing the logic around fixed the problem.

It seems haml 2.2.2 detects the use of:

-end

but not

-end unless some_condition

We love haml and now that we know the issue we will sure avoid this in
the future.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to