You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
I'm seeing an unexpected validation failure with decimal properties. Also, I'm using the release-1.2 branch.
A simple testcase:
classModelincludeDataMapper::Resourceproperty:duration,Decimalendm=Model.newm.duration=BigDecimal.new(1.01,3)m.save# raises DataMapper::SaveFailureErrorm.errors[:duration]# => ["Duration must be a number"]