Is the tutorial telling you to put that code in the AdminController? It
is my guess that the code is based on a plugin or gem. Have you
included all the proper plugins and gems?
Is the tutorial telling you to put that code in the AdminController? It
is my guess that the code is based on a plugin or gem. Have you
included all the proper plugins and gems?
Is the tutorial telling you to put that code in the AdminController? It
is my guess that the code is based on a plugin or gem. Have you
included all the proper plugins and gems?
Scaffold (in the controller) used to be part of Rails. It was removed
in 2.0. The original poster should find a current tutorial!
Is the tutorial telling you to put that code in the AdminController? It
is my guess that the code is based on a plugin or gem. Have you
included all the proper plugins and gems?
Scaffold (in the controller) used to be part of Rails. It was removed
in 2.0. The original poster should find a current tutorial!
yeah i guess so and i cant find a way to get around it. I am a visual
learner and these videos help me understand better.
He makes the databases manually in cmd. then db:migrate and then he goes
to the admin_controller.rb and put "scaffold :albums" and everything
works. when i do the same thing i get "unexpected action view....."
Can you not install the plugin for some reason? Alternatively, you could always install the version of rails that he is using, which must be a pre 2.0 rails.