I must have made some mistake because I checked if request.post? Date.new(params[:year].to_i, params[:month].to_i, params[:day].to_i) end
again and it does not call an error either. However anytime I input any numbers into the fields, i get the same invalid date error. Is there something wrong with using params[:year].to_i? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

