It usual for me to use empty lines to structure different blocks of
code.

For example I want to use this:

%h2 Block number 1
  = render :partial => "num1"

%h2 Block number 2
  = render :partial => "num2"

But HAML says "no way":

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.rstrip

Why so? Why do I need to write my code "line-to-line"? All languages
just ignoring empty lines, but HAML makes problems of them. Maybe
there is a way...


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