Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Documentation error
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
 
noah paessel  
View profile   Translate to Translated (View Original)
 More options 3 Apr, 17:20
From: noah paessel <kno...@gmail.com>
Date: Fri, 3 Apr 2009 09:20:12 -0700 (PDT)
Local: Fri 3 Apr 2009 17:20
Subject: Documentation error
Hi, I have been enjoying working with staticmatic for the last week.
I am new to haml & sass, but really enjoy it.

According to documentation on the website: http://staticmatic.rubyforge.org/how_to_use.html

Partials are invoked, passing local variables in named parameter, like
so:

= partial('mypartial', :locals => { :title => 'My Title' })

But I couldn't get that to work.  Instead, I just passed in a hash,
and everything worked:

= partial('mypartial', { :title => 'My Title' })

Cheers,

- Noah


    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