Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added +ap attributes

  • Loading branch information...
commit 7111c0c201ad6c7a612d30d1e141ce31aaa75a69 1 parent d7d4245
@ffmike ffmike authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 generators/model_plus/USAGE
View
4 generators/model_plus/USAGE
@@ -26,7 +26,7 @@ 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
@@ -34,6 +34,6 @@ Examples:
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.
Please sign in to comment.
Something went wrong with that request. Please try again.