On 21 Jul 2009, at 23:58, David Zülke wrote:
> Don't. Validation should be idempotent and free of side effects.
>
> Imagine your validator succeeds, but ultimately, some other  
> validator fails and the action is never run. Your record would still  
> be persisted to the database at that point, which is not a good idea.


I see your point: I will not be saving anything inside validators.  
Thanks!

Michal.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to