On Feb 18, 2011, at 11:02 AM, Donald R. Ziesig wrote:

> I hacked around the addition of the invalid record - I don't remember seeing 
> this in any documentation so I worry about the future.
> 
> It appears that returning false or nil from before_save when there is an 
> error stops the record from being saved YMMV.
> 
> I still can't make the error message(s) appear though.

This definitely shouldn't be happening - I've got apps in production that use 
validations along with auto_actions_for and they work fine.

The fact that you're *getting* to the before_save callbacks indicates that 
something else is disabling validations, as a failed validation should cancel 
the save before it even gets to those...

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to