day 3 bug

Screen Shot 2016-10-19 at 1.51.54 PM.png

Screen Shot 2016-10-19 at 1.52.30 PM.png title description凑在了一起,原来是class少打个s

今天遇到一个坑,按照教程改写完后,出现错误no method define
解决办法输入: rake db:drop rake db:create
rake db:migrate

rails g controller没有显示文件 Screen Shot 2016-10-19 at 4.31.18 PM.png Screen Shot 2016-10-19 at 4.31.38 PM.png Screen Shot 2016-10-19 at 4.32.23 PM.png