rails 2.0 script/generate scaffold product admin

Hi all

I am trying the depot application from Agile Web Development With rails,
and instead of running: script/generate scaffold product admin

In 2.0 I run: script/generate model Product title:string
description:string

But where is the list.rhtml file now? I do not see it in the Views
folder

Thanks
Jose

Correction in 2.0 I run script/generate scaffold Product title:string
description:string

But where is the list.rhtml file now? I do not see it in the Views
folder

Old Rails scaffolding had two actions for viewing the collection, list
and index. By default, index redirected to list, so they meant
basically the same. (I think it was because DHH felt that "list" was a
more descriptive name for what the action does, but in URLs it had
always been index.html, so web servers will give you index.html if you
don't specify a file name. Or it was about the distinction between
"index" as a welcome page for the first visit, and the actual
"list"ing of the collection.)

The new resource scaffolding got rid of list. So what used to be
list.rhtml is now index.rhtml, or rather index.html.erb.

Oh, now I see why you're confused. The scaffold generator is a
completely new beast now. "generate scaffold" now does the same as
pre-2.0 "generate scaffold_resource", and the old scaffold generator
was dumped. http://blog.buildingwebapps.com/2008/2/24/the-pain-of-redefining-scaffold