On Mon, Nov 16, 2009 at 01:11:16AM -0800, Frederick Cheung wrote:

> The length of a number isn't really a well defined concept (to me at
> least), For example is 1236548 a number of length 7 (because it has 7

I just want it to validate the number of digits. Since it won't do that,
I used a regex instead. It's still undocumented behavior, though, which
makes it a bug. :)

-- 
"Oh, look: rocks!"
        -- Doctor Who, "Destiny of the Daleks"


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to