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 has been 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"]
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm seeing an unexpected validation failure with decimal properties. Also, I'm using the release-1.2 branch.
A simple testcase:
The text was updated successfully, but these errors were encountered: