Nathan

Thanks for the reply.

Ok... I changed the # to %div when I tried it in 1.6. I also just
changed to use render :partial.

What I am looking at here in the resulting html source is on iterating
over three records, the first div is not closed, the second one is
closed by /ul and the third is properly closed.

Would it be helpful for me to boil it down to the simplest case that
demonstrates a problem?

Brad

On Jun 28, 11:08 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Well, first of all, render_partial is deprecated and shouldn't be used.
> Use render :partial instead (see docs for 
> renderhttp://api.rubyonrails.org/classes/ActionController/Base.html#M000267).
> Second, "#{:id => "job#{j.id}"}" is invalid Haml - you can't have a hash
> ("#") without a value. "%div" is the preferred way to do that.
>
> Try fixing those, and let me know if it works.
>
> - Nathan
>
>
>
>
>
> bmidgley wrote:
> > Just as a followup... trying 1.6 checked out today was even less
> > successful. The third parameter to the partial above did not make it
> > into the partial (level evaluates to nil)


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