On Thu, Aug 21, 2008 at 9:01 AM, Chris Cruft <[EMAIL PROTECTED]> wrote:
>
> Damian,
> I think we are saying the same thing: using the object's own methods
> (to_i, to_a, to_f, etc.) to typecast/coerce is absolutely the right
> thing to do.  Unfortunately, Rails currently goes beyond that level of
> coercion and Josh's original proposal on this post was to go even
> further to coerce booleans using external logic.  It's the use of
> external logic that I characterized as "guessing."

Agreed :-)

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

Reply via email to