Hey guys,
I would like to know if there is a way to get a hash with the name of the
field as key and an array of the error messages
that the field has after executing valid?, for example:
{:name => ['name is required', 'name must be 4 letters long minimum],
:lastname => ['last name is required']}
Thanks.
--
Teddy Limousin
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.