Have you tried wrapping the 0 in double quotes
maybe something like
%option{:value => 0}= "0"
On Jun 12, 7:01 am, Алёна <[email protected]> wrote:
> Oh, thank you!
> But what if i want to use %option directly?
> Why does this error happen?
>
> 2011/6/11 koulikoff <[email protected]>
>
>
>
> > I never use %option directly, only via #options_for_select
--
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.