i have a user object that includes a birthday datetime field.
when the user is created, he selects the date via the helper
datetime_select ‘user’, ‘birthday’
which works great. the date is saved to the database, and it works
great…but when i display the datetime_select helper after the user is
created, the correct date isn’t displayed - - the previous time is
how do i place the user’s birth-date as the selected date?
datetime_select ‘user’, ‘birthday’, :value => @session[‘user’].birthday
but that didn’t work…
what am i supposed to do?? i googled around, and couldn’t find any
any help, is much appreciated. thanks,