I am a rails beginner, I would like to know how can I manipulate the
params in controller, when the datetime_select is used in form. Please
give me some advices. Thank you very much.
<% form_tag :action => “search” do %>
<%= datetime_select(“from”, “range”, :start_year => 2007) %>
<%= submit_tag “search” %>
<% end %>
selected_date = How to do it here??
@records = Record.find(:all, :conditions => “created_at >
render :action => ‘index’