## view
= render :partial => "some_partial", :collection => @things, :locals
=> {:name => @person.name}

## some_partial

=thing.title
=name

Running that gives me:

"undefined local variable or method `name' for #<ActionView::Base:
0x34cbf50>

The interesting part is that when I convert that partial to ERB,
everything works just fine.

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