I have a method in controller that receives a parameter like this:
def example
....
params[:Date]
end
And I just want to validate if the date is not of yesterday or earlier.
This date is not entered in the database, then the validation is required to be made in the controller and not in the model.
Are you looking for something like this?