Hey,

Today I released an experimental gem called dm-validations-ext.
Currently the only thing it does is a support for nested error
messages. That's an attempt to fix the problem where you call save on
a resource, it returns false and the errors object is empty. With
validations-ext you will get the nested error messages so you can
easily see what went wrong and with which parent and/or child
object(s). Check out README on github: 
http://github.com/solnic/dm-validations-ext
to see how it looks like.

I tested this stuff with 3 medium and big applications and seems like
it doesn't break anything so I encourage you to give it a spin and let
me know if you have any ideas on how the improved validations API
should work!

It's just a gem so install it via

gem install dm-validations-ext

Thanks,

# solnic

-- 
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.

Reply via email to