<%= form_for (@upload, :html => { :multipart => true }) do |f| %>wrong
<%= form_for(@upload, :html => { :multipart => true }) do |f| %>right
怎么不能差一个空格,不是说是ruby语法松散吗