Have you tried wrapping the 0 in double quotes maybe something like
%option{:value => 0}= "0" On Jun 12, 7:01 am, Алёна <pionee...@gmail.com> wrote: > Oh, thank you! > But what if i want to use %option directly? > Why does this error happen? > > 2011/6/11 koulikoff <koulik...@gmail.com> > > > > > 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 haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.