#1243 ✓resolved
michaelxavier

:min, :max not working on Decimal properties

Reported by michaelxavier | April 15th, 2010 @ 04:55 PM | in 1.0.0

https://gist.github.com/f3f7aa7b44c4561680de

My system isn't set up right now to test the git version of datamapper outside of my rails environment but the latest git version seems to fail to validate :min and :max on decimal fields. The tests in the above gist fail to make the record invalid. It doesn't appear to be an RSpec issue since I've checked before and after the field is assigned on "subject" and it is indeed updating the property.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

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 »

Pages