"NoMethodError in AdminController#index" error

hi, im totally a newbie so i have got no idea whatsoever why i got this error, the thing that happend was i was doing a little coding along with the lynda.com rails series that i got this error. well as u can see this is the error which i get on terminal, but there is another one in browser too which says : "NoMethodError in AdminController#index " u can see it in the picture here :

so what seems to be the problem.

Attachments: http://www.ruby-forum.com/attachment/4801/Screen_shot_2010-06-14_at_6.55.29_PM.png

hi, im totally a newbie so i have got no idea whatsoever why i got this error, the thing that happend was i was doing a little coding along with the lynda.com rails series that i got this error. well as u can see this is the error which i get on terminal, but there is another one in browser too which says : "NoMethodError in AdminController#index " u can see it in the picture here :Twitpic

so what seems to be the problem.

Active scaffold is blowing up. Is the version you've got compatible with the version of rails you're using.

Fred

Hormoz Hormoz wrote:

hi, im totally a newbie so i have got no idea whatsoever why i got this error, the thing that happend was i was doing a little coding along with the lynda.com rails series that i got this error.

Those tutorials are quite old and may not work with current versions of Rails. Try guides.rubyonrails.org instead.

well as u can see this is the error which i get on terminal, but there is another one in browser too which says : "NoMethodError in AdminController#index " u can see it in the picture here : http://twitpic.com/1wsbal

so what seems to be the problem.

Just like it says: you're trying to call a method called index that doesn't exist.

Best,

so what about the things in the terminal, are they quite normal ?

[Please quote when replying.]

Hormoz Hormoz wrote:

so what about the things in the terminal, are they quite normal ?

No. You've hit an error. Don't use the lynda.com tutorials with Rails 2.3.8.

Best,

Marnen Laibow-Koser wrote:

[Please quote when replying.]

Hormoz Hormoz wrote:

so what about the things in the terminal, are they quite normal ?

No. You've hit an error. Don't use the lynda.com tutorials with Rails 2.3.8.

Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org

can we go more into the details ? like, how can i fix them ?

Hormoz Zamanpour Siahkal wrote:

Marnen Laibow-Koser wrote:

[Please quote when replying.]

Hormoz Hormoz wrote:

so what about the things in the terminal, are they quite normal ?

No. You've hit an error. Don't use the lynda.com tutorials with Rails 2.3.8.

Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org

can we go more into the details ? like, how can i fix them ?

You have enough information to start looking. Please read the documentation I've suggested before begging for answers. Otherwise, you're wasting your time and mine.

Best,

You have enough information to start looking. Please read the documentation I've suggested before begging for answers. Otherwise, you're wasting your time and mine.

Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org

tnx anyway, appreciate it.