pepe wrote: > On the other hand, validating that the value is just a number doesn't > solve entering faulty information... I would still validate the format > with a regexp to make sure you get what you're expecting.
But you should expect almost anything useful. Don't make the user know how phone numbers should be formatted. That's the job of the application. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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.

