If i have a select_date in my view like this : select_date @end_date,:prefix=>"end_date" Then I parse it as follows in the controller: @end_date = Time.parse(params["start_date"][:day]+"-"+params["start_date"][:month]+"-"+params["start_date"][:year]).to_date This somehow doesn''t seem right. What is the best method to do it? Thanks Chris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---