Changeset [2f34648011a996296e9b1ea32addb9d3bdb663c5] by Markus Schirp

October 19th, 2011 @ 12:31 PM

Convert Addressable to string before matching regexp

@emmanuel,@solnic

Before this only Numeric was converted to string. Maybe the list to
convert to String will grow in the future and another mechanism is
needed? Fixes integration spec on dm-types URL property.
https://github.com/datamapper/dm-validations/commit/2f34648011a9962...

Committed by Markus Schirp

  • M lib/data_mapper/validation/rule/format/regexp.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »