in the scaffold_controller help (rails generate scaffold_controller -h)
Pass the model name,
either CamelCased or under_scored, and a list of views as arguments.
when I add enter something like
rails generate scaffold_controller Page home
I get all of the REST actions and views, but no home view.
I checked the rails repo history back to the birth of the scaffold_controller generator here and I see nothing that seems to accept arguments, but the same documentation.
Is this just an overlooked error or am I entering in my arguments incorrectly (or something else ;)?
Update
It seems like I was looking for rails generate controller Page home all along. There still seems to be a bug in the documentation though.
I think
will produce the expected result for you, although it is missing generation of regular show/index/update/destroy methods in the controller.