Convert date string parameters in a rails controller into Date objects.