I am new to Ruby on rails and so my doubt would be very trivial for the
most of you. But, since I do not know to tackle the problem, I would
to ask you.
I have a search method defined in my model. I need to add validations to
the search method.
method in the model itself?
Note : My search method does not have a model of its own. It is defined
Please help me on this issue.
Any suggestion would be appreciated.
Thanks in advance!