Simple form in rails can't post data
问题 I use simple form in rails. After submit data. the page always return to application_form#new, and data can't be saved in db. Why? log Started POST "/application_forms" for 127.0.0.1 at 2013-05-25 19:23:28 +0800 Processing by ApplicationFormsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yypWFcsXbdSVtp3WXUZKvstzHWsV0OOpLoGSxO1ldJ0=", "application_form"=>{"student_name"=>"somebody", ...... ,"application_type"=>"b"}, "commit"=>"Submit"} [1m[35mUser Load (0.0ms)[0m