Hello, I'm new to ruby
I tried to view my webpage on the webrick server and this error came up.
I made the webpage in notepage. All its says is "Hello World". I saved the ruby doc in the controllers folder as say_controller.rb and saved the notepad doc in the views\say folder as hello.rhtml.
Whats in the say_controller.rb document
class SayController < ApplicationController
end
def hello
end
end
This is what the error says
C:/Documents and Settings/Warren Jordan/ruby/my_app/app/controllers/say_controller.rb:7: syntax error, unexpected kEND, expecting $end
I put this in the web address: http://localhost:3000/say/hello and then the syntax error comes up.