Here is the controller code.

class SayController < ApplicationController
        def hello
end

I just copied and pasted from "Agile Web development with rails."

On Jan 23, 1:13 pm, Frederick Cheung <[email protected]>
wrote:
> On Jan 23, 10:06 am, agrinshtein <[email protected]> wrote:
>
> > Instead of getting "Hello, world!" I get
>
> >  SyntaxError in SayController#hello
>
> > /Users/arongrinshtein/agile/demo/app/controllers/say_controller.rb:3:
> > syntax error, unexpected $end, expecting kEND
>
> > Any ideas?
>
> It probably is just a syntax error like a stray or missing 'end'. Hard
> to say without seeing the controller code though.
>
> Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to