I was wondering: shouldn't email and url validators be in ActiveModel? I cannot remember a project where I didn't have to deal with email fields.
They're 100% generic too. I am willing to make a patch, but I'd thought I'd consult here first. If so, how should we do it? Via a regex, or via the mail gem[1] ? [1] http://my.rails-royce.org/2010/07/21/email-validation-in-ruby-on-rails-without-regexp/ -- 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.
