If you just want to add checks for a single model, you can override
blank? on the model. Just declare it like any other method.

--Matt Jones

On Aug 24, 7:49 pm, tispratik <[email protected]> wrote:
> Hi,
>
> Does anyone know a way to override .blank? method that rails provides.
> I want to add additional custom checks (specific to my application) to
> this method.
>
> Thanks,
> Pratik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to