Skip to content
Browse files

added +ap attributes

  • Loading branch information...
1 parent d7d4245 commit 7111c0c201ad6c7a612d30d1e141ce31aaa75a69 @ffmike ffmike committed Dec 21, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 generators/model_plus/USAGE
View
4 generators/model_plus/USAGE
@@ -26,14 +26,14 @@ Description:
db/migrate.
Examples:
- `./script/generate model account`
+ `./script/generate model_plus account`
creates an Account model, test, fixture, and migration:
Model: app/models/account.rb
Test: test/unit/account_test.rb
Fixtures: test/fixtures/accounts.yml
Migration: db/migrate/XXX_add_accounts.rb
- `./script/generate model post title:string body:text published:boolean`
+ `./script/generate model_plus post title:string body:text published:boolean`
creates a Post model with a string title, text body, and published flag.

0 comments on commit 7111c0c

Please sign in to comment.
Something went wrong with that request. Please try again.