when retreiving a date from a DATETIME field in a database, is there a
way to set the date to the value of the DB in the view? It seems to
always default to the current date…
if I have a field called birthdate in the users table and i do
@user = User.find(@params[:id])
in my view i have a <%= date_select ‘birthdate’,‘user’ %>
but dont know how to set a value for date_select that isnt the current
Any ideas ?