Scaffold

I'm still in the learning process and have come across my first problem. In the manual (Begnning Rails) it tells me to add the following line of code in


class EventsController < ApplicationController
  scaffold :events
end


The editor tells me it cannot find the word 'scaffold'. Now I'm stuck. Can anyone help me move forward please.




Attachment(s):
scaffold.JPG
1 comment
Comment actions Permalink

Nigels, as far as I know dynamic scaffolding was removed in Rails 2.0. Use scaffold generator instead of it.

0

Please sign in to leave a comment.