Hi guys i am having a problem of validating the date if it's wrong.e.g if i search for a record in the database for 31 february it only show me the error in the server, and it doesn't display anything..i dont have a clue what to do help please...
my code for storing my hash date is
@start = "#{params[:start][:day]}-#{params[:start][:month]}-#{params[:start][:year]}"
and for passing is`@start_date = Date.parse(@start)
` and it returns immediately after detecting that the date passed is wrong and it doesnt give me a chance to validate it.