Error using scaffolding in Rails 2.0

I need to use scaffolding to generate my model “Publisher” and
controller “admin/publisher” . I am running following ruby command and
getting error

script/generate scaffold Publisher ‘admin/publisher’

error

exists app/models/
exists app/controllers/
exists app/helpers/
create app/views/publishers
exists app/views/layouts/
exists test/functional/
exists test/unit/
exists public/stylesheets/
create app/views/publishers/index.html.erb
wrong number of arguments (1 for 2)

I know that scaffolding has been removed from Rails 2.0, however can’t
able to fins any document for alternative solution.

Thanks
Amit

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs