Hi everyone,
I have a form that has a date_select form field. Now for some reasons
out of my control I need to save the date generated by date_select to a
‘text’ field in mysql 5.0. Now i’ve been reading the ruby API for date
and datetime objects…but so far I’m reallly lost.
So to sum it up I have to make date(1i), date(2i), date(3i) into a mysql
5.0 text field…And of course I have to be able to retrieve that date
from mysql (in a string format) and make a ruby Date object out of it.
Any help would be greatly appreciated.
Thank you in advance,
Jd
P.S. I also need to do the same thing with a datetime_select field.
Any advice on that one?