Hello, I am a noobie programmer, and found this book a great guide. However, I am facing some problems.When at chapter 6, i edited my index.html.erb file as shown but got an error.
undefined method `each’ for nil:NilClass
Here is my index.html.erb, please check it for errors, because i haven’t found any.
I uploaded it because weird stuff happened when i just pasted it in.
Some background info: I use Ubuntu Linux on VMWare Player, Ruby 1.8.7, Rails 3.2.2, and Gems 1.7.3