From f0dd77c6be6a86fe384bb0015151e0a497973d39 Mon Sep 17 00:00:00 2001 From: Yehuda Katz + Carl Lerche Date: Thu, 24 Sep 2009 14:01:31 -0700 Subject: Move railties/lib/* into railties/lib/* --- railties/lib/generators/rails/observer/USAGE | 12 ------------ railties/lib/generators/rails/observer/observer_generator.rb | 7 ------- 2 files changed, 19 deletions(-) delete mode 100644 railties/lib/generators/rails/observer/USAGE delete mode 100644 railties/lib/generators/rails/observer/observer_generator.rb (limited to 'railties/lib/generators/rails/observer') diff --git a/railties/lib/generators/rails/observer/USAGE b/railties/lib/generators/rails/observer/USAGE deleted file mode 100644 index 9a20f55a89..0000000000 --- a/railties/lib/generators/rails/observer/USAGE +++ /dev/null @@ -1,12 +0,0 @@ -Description: - Stubs out a new observer. Pass the observer name, either CamelCased or - under_scored, as an argument. - - This generator only invokes your ORM and test framework generators. - -Example: - `./script/generate observer Account` - - For ActiveRecord and TestUnit it creates: - Observer: app/models/account_observer.rb - TestUnit: test/unit/account_observer_test.rb diff --git a/railties/lib/generators/rails/observer/observer_generator.rb b/railties/lib/generators/rails/observer/observer_generator.rb deleted file mode 100644 index f5cedee91f..0000000000 --- a/railties/lib/generators/rails/observer/observer_generator.rb +++ /dev/null @@ -1,7 +0,0 @@ -module Rails - module Generators - class ObserverGenerator < NamedBase #metagenerator - hook_for :orm, :required => true - end - end -end -- cgit v1.2.3