BTW, which version are you on?

--Matt Jones

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

> Hmmm...
> 
> I will try an experiment wherein I simplify this to a single parent and child 
> and see what happens.  I have had this problem in two separate applications 
> so far but this is the first that is far enough along to think about 
> releasing it to the users.
> 
> News at 11......
> 
> Don Z
> 
> On 2/18/2011 11:09 AM, Matt Jones wrote:
>> 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.
> 

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