diff options
author | RomD <romd86@gmail.com> | 2010-02-06 17:18:10 +0100 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-06 09:51:53 -0800 |
commit | f44a0b1d524064a2e919cd10d3013db680af9b17 (patch) | |
tree | 43011f4c151d45dbecdf0eeb78806e9ac3e8f391 /railties/lib/generators/rails/scaffold/USAGE | |
parent | 6958eac1a00a4ab33e3facc70c80a07492288196 (diff) | |
download | rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.gz rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.bz2 rails-f44a0b1d524064a2e919cd10d3013db680af9b17.zip |
fix usage examples and more to use new invocations
Signed-off-by: Carl Lerche <carllerche@mac.com>
Diffstat (limited to 'railties/lib/generators/rails/scaffold/USAGE')
-rw-r--r-- | railties/lib/generators/rails/scaffold/USAGE | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/generators/rails/scaffold/USAGE b/railties/lib/generators/rails/scaffold/USAGE index 530ccdaf0a..be1d113ed8 100644 --- a/railties/lib/generators/rails/scaffold/USAGE +++ b/railties/lib/generators/rails/scaffold/USAGE @@ -21,9 +21,9 @@ Description: declaration in config/routes.rb. If you want to remove all the generated files, run - 'script/destroy scaffold ModelName'. + 'rails destroy scaffold ModelName'. Examples: - `./script/generate scaffold post` - `./script/generate scaffold post title:string body:text published:boolean` - `./script/generate scaffold purchase order_id:integer amount:decimal` + `rails generate scaffold post` + `rails generate scaffold post title:string body:text published:boolean` + `rails generate scaffold purchase order_id:integer amount:decimal` |