This project is archived and is in readonly mode.
Wrong examples for plugin installation and generators in usage documentation
Reported by RomD | February 5th, 2010 @ 11:00 PM | in 3.0.2
The example section in the usage documentation contains wrong or
obsolete commands:
rails plugin
shows
rails install continuous_builder
instead of
rails plugin install continuous_builder
All generators:
rails generate <generator>
shows
./script/generate <generator> ...
instead of
rails generate <generator> ...
Comments and changes to this ticket
-
José Valim February 6th, 2010 @ 10:07 AM
- Milestone cleared.
-
RomD February 6th, 2010 @ 04:38 PM
Ok, this patch turned out pretty big, because there are a lot of files with the old invocations.
It's my first patch, so I hope I did everything right and it's of any use.
I grepped through all rails files and manually edited the occurrences. -
RomD February 6th, 2010 @ 04:42 PM
- no changes were found...
-
Carl Lerche February 6th, 2010 @ 05:56 PM
- State changed from new to resolved
thanks for the patch!! :) Applied to master.
-
RomD February 7th, 2010 @ 04:06 AM
According to fxn's comment on github ( http://github.com/rails/rails/commit/f44a0b1d524064a2e919cd10d3013d... ), the fix in the release notes file was wrong.
I wasn't sure whether the right-hand side was an example of the old way or a mistake by the author.
I replaced '=>' with 'instead of' in this patch, to make it more clear what's really meant. -
Xavier Noria February 7th, 2010 @ 09:37 AM
Looks good. I'd even remove the leading ./ in those comments indeed, since it was rarely used.
-
José Valim February 7th, 2010 @ 12:51 PM
- Assigned user set to Carl Lerche
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>