Convert date string to Date where Day is missing
I know i can use to_date or parse to convert a string to a date in rails, but how do i convert to a date if the string is of the format "01-2018", where 01 is the month (January) and the day is missing ? Must be simple but i am having trouble doing it.… Read More Convert date string to Date where Day is missing