--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCAvR9N6Udei6Ky5HchS%2Bpa7LW0vQ4_d1UszoM%2BTSaSrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
hi,im kinda stuck...<%= form_for(@event) do |f| %><p><%= f.label :from_date %><br /><%= date_select :event, :from_date %></p>.....def createp params[:event].nil?p params[:event][:name]p params[:event][:from_date]if params[:event][:from_date].empty?params[:event][:from_date] = Date.todayend.......-->Started POST "/events" for 127.0.0.1 at 2014-11-19 17:37:09 -0500Processing by EventsController#create as HTMLParameters: {"utf8"=>"✓", "authenticity_token"=>"JannWb1XCE12AKW4KlR56LAAmIOG1raHJh1ss4v0RBA=", "event"=>{"name"=>"", "from_date(1i)"=>"2014", "from_date(2i)"=>"11", "from_date(3i)"=>"19", "to_date(1i)"=>"2014", "to_date(2i)"=>"11", "to_date(3i)"=>"19"}, "commit"=>"Create"}
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/199cc138-1098-47ef-821d-5a5a5f297345%40googlegroups.com.