In Rails 3, all block helpers are supposed to use =, not -. There should be
a warning to that effect in your log; are you seeing that?

On Thu, Aug 19, 2010 at 2:26 PM, Serenity <[email protected]> wrote:

> Ok, so I have isolated the two different problems.
>
> The crash was coming from a use of logger.silence - that is apparently
> what behaves differently in production than development.
>
> The double render is coming from a use of with_options, like so:
>
> - with_options :onclick => 'qsChooseForm(this)', :class => 'button' do
> |src_button|
>  %p= src_button.link_to(params)
>  %p= src_button.link_to(params)
>  %p= src_button.link_to(params)
>
> Is there a different syntax for something like this in haml now?
>
> And I certainly have no idea why it's different in production vs.
> development. Any thoughts on that?
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

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