Scaffolding hates me, please help

Hello folks,

Well, I am really new to RoR, but I am doing my best to learn. I have
followed the Apple tutorial as well as the ONLamp one. However, both
have resulted in problems. So, I decided to hit Lynda.com, hoping a
more visual walk through would be better. It has been of great help,
however, in all three tutorials, I have fallen in the same place. In
all cases, I create the app “rails app_name”. Then I create my
controller and my model using script/generate. Then, I create the
databases using mysql command line, those all work fine. I even was
able to run rake db:migrate, and for the first time, that too worked.
Once here, I can either run the scaffold command or manually type
‘scaffold :whatever’ and start the server and no matter what I do, I
cannot get it to get to the scaffold stage, or a working database
application. Does anybody see my faults or have some tips. All of
the searching I do brings me to people who have successfully ran it
the first time and have gotten it to work but it maybe is not working
how it is supposed to or something goes wrong on Appache. I am
running basic Rails 2.0.1 on Mac OS X Leopard. Please help! Thanks
in advanced!

On 19 Dec 2007, at 07:27, Kevin wrote:

databases using mysql command line, those all work fine. I even was
able to run rake db:migrate, and for the first time, that too worked.
Once here, I can either run the scaffold command or manually type
‘scaffold :whatever’ and start the server and no matter what I do, I

Dynamic scaffolding has been pulled from rails 2. You can get it back
via a plugin (http://dev.rubyonrails.org/browser/plugins/scaffolding)

Fred

Thanks, now, is there a way I know it works? I used the command
script/plugin source
http://dev.rubyonrails.org/browser/plugins/scaffolding
and it gave me ‘Added 1 repositories.’ I did this while in the same
directory as my project. Should I do this somewhere else so that all
projects I create have scaffolding. Again, all help is appreciated a
ton!

Kevin

On Dec 18, 11:33 pm, Frederick C. [email protected]

Hey bud I am facing the exact same problem. I followed what was
adviced to you. But I digged a little more. And here is what you
actually need to do and what you should get. This is something I
suppose application specific.

C:\Users\Blasphemer\music_library\script>ruby plugin install
http://dev.rubyonrails.com/svn/rails/plugins/scaffolding/

  • ./MIT-LICENSE
  • ./README
  • ./Rakefile
  • ./init.rb
  • ./lib/scaffolding.rb
  • ./lib/templates/edit.erb
  • ./lib/templates/layout.erb
  • ./lib/templates/list.erb
  • ./lib/templates/new.erb
  • ./lib/templates/show.erb
  • ./test/scaffolding_test.rb

As eveything got installed here
C:\Users\Blasphemer\music_library\vendor\plugins\scaffolding\lib

This is my windows vista pc. So the paths would be different for you.

It then needed classic_pagination whoes website is down. So the best
is to go back to rails 1.2.6 for those who still are learning it.

gem install rails -v=1.2.6

Kevin wrote:

Hello folks,

Well, I am really new to RoR, but I am doing my best to learn. I have
followed the Apple tutorial as well as the ONLamp one. However, both

you don’t have to worry if scaffolding hates you.
as long as you got FRED to fix things.

you might want to send him some cookies.

Check this also http://blog.randomnoun.com/