Google Groups Home
Help | Sign in
Message from discussion HAML error... Any pointers?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Harry  
View profile
 More options 30 Jul 2008, 11:33
From: Harry <blogdri...@gmail.com>
Date: Wed, 30 Jul 2008 03:33:41 -0700 (PDT)
Local: Wed 30 Jul 2008 11:33
Subject: Re: HAML error... Any pointers?
yes ,I have this problem also.

try this :if my index.haml is like this:

.container hello

only one line is ok;

if add a line:
.container hello
  .span-24 body

then the erro similar will occur
.in `generate_html': undefined method `line_offset' for
#<Haml::SyntaxError:0xb7a36558> (NoMethodError)

if i change it to
.container hello
.span-24 body

then it is ok again. notice I removed the space or tab in front of the
second line.(I tried space and tab both) so it look like it will not
recongnize it .

I tried netbeans and komodo editor, for fear it's the problem of
identation? but all seems similar


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google