ruby语法不理解
<%= form_for (@upload, :html => { :multipart => true }) do |f| %>wrong
<%= form_for(@upload, :html => { :multipart => true }) do |f| %>right
怎么不能差一个空格,不是说是ruby语法松散吗
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did43698
<%= form_for (@upload, :html => { :multipart => true }) do |f| %>wrong
<%= form_for(@upload, :html => { :multipart => true }) do |f| %>right
怎么不能差一个空格,不是说是ruby语法松散吗
上一篇: rails3高端observer模式
下一篇:近来心得,心不可太贪,见好就收