aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/observer/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/rails/observer/USAGE')
-rw-r--r--railties/lib/generators/rails/observer/USAGE5
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