How could I use validation in Ror to validate that one date is before the other date ?
Thanks.
How could I use validation in Ror to validate that one date is before the other date ?
Thanks.
Thanks for the answer.
You can put custom validations in the "validate" method on your model. You can use any ruby code there to do validations.
Look on the web or the source of existing validations for examples on how to format the error objects.
Michael
[Rails] off-topic - contacting to the administrators Hi, im trying to unsubscribe me to the list, for one reason (i think the server is catching for some spam rule) i cant unsubscribe me from the website. thnx for the help.