On 16.01.2009, at 17:12, whoismario wrote:

> No problem, I'll just use validates_present and add a catch-all
> message.  Thanks for your help.


See validates_with_block and validates_with_method if you are looking  
for a way to do custom
validations. It is just a common way to do custom validations that  
other DM users would find
familiar.

MK


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