Re: [DataMapper] Validation Errors - But not sowing in Errors Section + Decimal Values not Saved to DB

16 views
Skip to first unread message

kristian

unread,
Jun 9, 2013, 11:02:25 AM6/9/13
to datam...@googlegroups.com
hi,

first you do not have errors the errors Hash in DataMapper::Validations::
ValidationErrors is empty. you can check on errors with object.valid? or object.errors.size > 0

try using Float instead of Decimal or play around with :precision or :scale options of Decimal property. I did see something like you before ;)

- christian

Reply all
Reply to author
Forward
0 new messages