Hi,
On Jan 20, 3:01 pm, "Dan Kubb (dkubb)" <[email protected]> wrote:
> * dm-validations has a Regexp for validating email addresses which has
> some invalid multibyte characters, causing Ruby to explode.
Adding:
addr_spec.force_encoding('binary') if RUBY_VERSION >= '1.9.0'
would be a fast workaround I thought. It's an encoding problem.
Though RUBY_VERSION >= '1.9.0' is a bad version guard.
cheers,
Jen-Shin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---