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 find any document for alternative solution.
Thanks
Amit