diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/observer/USAGE')
-rw-r--r-- | railties/lib/rails_generator/generators/components/observer/USAGE | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/railties/lib/rails_generator/generators/components/observer/USAGE b/railties/lib/rails_generator/generators/components/observer/USAGE deleted file mode 100644 index a5d744a3c2..0000000000 --- a/railties/lib/rails_generator/generators/components/observer/USAGE +++ /dev/null @@ -1,13 +0,0 @@ -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 a unit test in - test/unit. - -Example: - `./script/generate observer Account` - - creates an Account observer and unit test: - Observer: app/models/account_observer.rb - Test: test/unit/account_observer_test.rb |