This may be Haml code, but it's hard to tell without more information.
Unless I'm mistaken, it's a form_tag call or something like that that's
running that bit of code... what arguments are you passing to form_tag? Or,
if you aren't using form_tag, what's further up in the backtrace?

- Nathan

On 2/26/07, jmay <[EMAIL PROTECTED]> wrote:
>
>
> I've been experimenting with HAML for a few days.  Very nice!  But I'm
> getting the following warning on my (Mongrel) server log, every time I
> display a HAML page:
>
> (eval):16: warning: multiple values for a block parameter (0 for 1)
>         from
> .../vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:50
>
> Not sure how to diagnose this.  The offending code is
>
>             proc = bind_proc do |*args|
>               concat "\n"
>               tab_up
>               oldproc.call(*args)
>               tab_down
>             end
>
> so apparently there aren't any arguments being passed in when
> expected.  How can I tell if this is a bug in the HAML code or in
> mine?
>
> Thanks,
> -Jason
>
>
> >
>

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