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
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"]
I'm seeing an unexpected validation failure with decimal properties. Also, I'm using the release-1.2 branch.
A simple testcase: