how to get datetime_select params?

Hey all, I do a: <%= datetime_select 'user', 'registered_after' %>

but then when I try to do @dateregister = params[:user][:datetime_select] it's nil. I know it has to do something with multi-parameter assignment but I don't know much than that. Basically I would like to put the value of the selected date

Any idea how to do that?

thanx in advance

Pat

sorry that was a typo, this is what I do @dateregister = params[:user][:registered_after] but I get nil. any idea why?

Patrick Aljord wrote: