Since I can''t install plugins because of timeout problems I''ve
not
solved yet, I have to work with
date_select.
It works fine for me when I create or update models, but now I have to
do a search
form and need to recover date fields from date_select. date_select
makes some select fields with
names like to_date(1i), to_date(2i) and so on. When I try to get the
values in the controller I get nothing
at all. I''ve tried:
to_date = params[:search][:to_date]
and
params[:search][''to_date(2i)''], but this way it''s a
bit embarrassing
because I''d have to check every
field which compound to_date field and results ugly for me. Is it
possible to get the date in a sentence?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---