On 16.01.2009, at 3:36, whoismario wrote:

> What's the expected behavior of adding an error with
> @resource.errors.add?  When I attempt it, the record remains in a
> valid state and saves without issue


You only supposed to operate that collection from within validating  
methods/blocks. To mark object as
valid/invalid, use #valid?

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