问题描述
|
我尝试了以下操作,但出现错误:
11 = f.buttons,:label => \"Create This\"
解决方法
= f.buttons do
= f.commit_button \"Create This\"
,Angela,在:label调用之前删除逗号。希望能有所帮助