scaffold_controller generator misleading documentation #7146

Closed
pferdefleisch opened this Issue Jul 24, 2012 · 1 comment

Projects

None yet

2 participants

@pferdefleisch

in the scaffold_controller documentation

Pass the controller name, either CamelCased or under_scored, and a list of views as arguments.

It does not take a list of arguments. This seems to lifted from generate controller

Pass the controller name, either CamelCased or under_scored, and a list of views as arguments.

Which does take a list of arguments.

Something like this would be more accurate

Creates a controller with 7 REST actions and related view files

I probably will make a pull request now.

thanks

@vijaydev
Ruby on Rails member

Closing in favor of #7147

@vijaydev vijaydev closed this Jul 25, 2012
@pferdefleisch pferdefleisch added a commit that referenced this issue Jul 25, 2012
@pferdefleisch pferdefleisch Updated scaffold_controller generator docs #7146
It was just a copy of the controller generator documentation which was
misleading.  It doesn't accept arguments for views.  This seems more
descriptive as well.

Respect 80 char limit. #7147

Made a nicer paragraph #7147
2195310
@rafaelfranca rafaelfranca added a commit that referenced this issue Aug 1, 2012
@pferdefleisch pferdefleisch Updated scaffold_controller generator docs #7146
It was just a copy of the controller generator documentation which was
misleading.  It doesn't accept arguments for views.  This seems more
descriptive as well.

Respect 80 char limit. #7147

Made a nicer paragraph #7147
a725585
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment