You''ve kinda missed out the critical information, what the last few
bits of the stack trace are...
Guessing you have spelt a variable wrongly somewhere. Be careful
following old tutorials with Rails 2.x, a lot has changed.
Paste me the stack trace if you haven''t already found the problem for
yourself.
Best of luck
Joe
On Apr 17, 3:29 pm, "jaime schultz"
<jaimes...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi everyone. Brief intro - I''m in the process of redesigning a
website and
> I''m exploring programming options for the redesign. I discovered
ruby in
> efforts to understand it and maybe make a recommendation.
>
> Anyway, currently I am trying to create a database and a table, and be able
> to vew and edit it with the web front.
>
> I am working from a tutorial called "Getting Started with
Databases" located
> athttp://wiki.rubyonrails.org/rails/pages/TutorialStepOne
> is where it begins. I am successfull until the last step where I go to view
> it online and I get the error message:
>
> NameError in Controller#View
> undefined local variable or method for Controller
>
> then it gives me my rails root.
>
> under response it says:
> Header:
> {"cookie"=>1[],
> "Cache-Control "=>"no cache"}
>
> I''m using the latest version of ror. Any help to get past this or
point me
> to a truly helpful tutorial with databases will be extremely welcomed and
> appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---