Look at ValidateSameAs.

Sent from my mobile device. Please excuse any errors or omissions.

On Dec 14, 2009, at 2:35 PM, JimmyJamz <[email protected]> wrote:

> I'm looking into creating a couple custom validators utilizing active
> record and c# but I've hit a wall.  I've created my own class in C#
> which inherits from the AbstractValidationAttribute but I'm unsure of
> where to go from there. The simplest of the validations I'm looking to
> create is that the current value is Less Than or equal to another
> value on a related object.  I noticed that AR has included a
> ValidateIsLesserAttribute validation but this doesn't cover the "or
> equal to" requirement.
>
> If anyone could give any advice, I would appreciate it greatly.
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "Castle Project 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/castle-project-users?hl=en 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"Castle Project 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/castle-project-users?hl=en.


Reply via email to