新建ROR错误并正在参加教程:http://guides.rubyonrails.org/getting_started.html并添加评论部分的时候,我得到在应用程序/视图/职位的错误/ show.html文件“未定义的方法。`身体”这是确切的错误:未定义的方法“身体”的回报率教程
undefined method `body' for #<Comment:0x4157430>
Extracted source (around line #37):
34: </div>
35: <div class="field">
36: <%= f.label :body %><br />
37: <%= f.text_area :body %>
38: </div>
39: <div class="actions">
40: <%= f.submit %>
感谢
有你迁移的数据库尚未 – Egryan
此外我认为http://ruby.railstutorial.org/是在轨道上的教程初学者 – Egryan
如果你的意思是做耙分贝最好的红宝石:红宝石命令提示符迁移,是的,我已经做到了。 – user1943656