diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-27 11:05:43 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-27 21:29:59 +0200 |
commit | ff48e23a4eb9f4a5fd3a02addb398499fb3c1455 (patch) | |
tree | 373d1db11fec7fb083135586924cc8847f0f832b /railties/lib/generators/rails/observer/USAGE | |
parent | 85ff67ce4c0e95de9b855af7f7e7fbab7f7726de (diff) | |
download | rails-ff48e23a4eb9f4a5fd3a02addb398499fb3c1455.tar.gz rails-ff48e23a4eb9f4a5fd3a02addb398499fb3c1455.tar.bz2 rails-ff48e23a4eb9f4a5fd3a02addb398499fb3c1455.zip |
Make Observer generator agnostic.
Diffstat (limited to 'railties/lib/generators/rails/observer/USAGE')
-rw-r--r-- | railties/lib/generators/rails/observer/USAGE | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/lib/generators/rails/observer/USAGE b/railties/lib/generators/rails/observer/USAGE index 197b5d6e4a..9a20f55a89 100644 --- a/railties/lib/generators/rails/observer/USAGE +++ b/railties/lib/generators/rails/observer/USAGE @@ -2,12 +2,11 @@ Description: Stubs out a new observer. Pass the observer name, either CamelCased or under_scored, as an argument. - The generator creates an observer class in app/models and invokes the - configured test framework. + This generator only invokes your ORM and test framework generators. Example: `./script/generate observer Account` - creates an Account observer and invoke the test framework: + For ActiveRecord and TestUnit it creates: Observer: app/models/account_observer.rb TestUnit: test/unit/account_observer_test.rb |