On Saturday 01 November 2008 21:11:59 Frederick Cheung wrote:
> On 1 Nov 2008, at 22:46, Davi Vidal <[EMAIL PROTECTED]> wrote:
[...]
> >    From my view, it saves using comment_author.value and
> > comment_email.value.
> > What am I missing?
>
> anon will be the string "1" and not the integer 1
>

        Ops! Lack of coffee. :-)
        Thank you very much, Fred.

        Changed from "self.anon" to "self.anon.to_i".

-- 
Davi Vidal
--
E-mail: davividal arroba siscompar ponto com ponto br
MSN   : davividal arroba msn ponto com
GTalk : davividal arroba gmail ponto com
Skype : davividal
YIM   : davi_vidal
ICQ   : 138815296


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to