Windows XP Pro Installed using section 1.1 using ruby-installer-1.9.2-p136.exe sqlite-dll-win32-x86-3070500.zip
gem -v yields 1.3.7
Section 2.3 page 49 has the following example.
Hello from Rails!
It is now <%= @time %>
Time to say <%= link_to “Goodbye!”, say_goodbye_path %>
When I attempt this I get the following error in the browser.
NameError in Say#hello
Showing D:/Ruby-Work/demo/app/views/say/hello.html.erb where line #7 raised:
undefined local variable or method `say_goodbye_path’ for #<#:0x1c98e28>
Extracted source (around line #7):
4: </p> 5: <p> 6: Time to say 7: <%= link_to “Goodbye!”, say_goodbye_path %> 8: </p>
What am I doing wrong? I have actually done a copy and paste on the code to be sure that my syntax is exactly what is in the book.