Re: how to get datetime_select params?

Cayce Balara
2006-10-26T01:27:01Z

I think it would be:

@dateregister = params[:user][:registered_after]

c.


Patrick Aljord wrote:
> 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
> from my datetim_select in a @date var object.
>
> Any idea how to do that?
>
> thanx in advance
>
> Pat


--
Posted via http://www.ruby-forum.com/.