diff options
Diffstat (limited to 'railties/lib/generators/rails/observer/observer_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/observer/observer_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/observer/observer_generator.rb b/railties/lib/generators/rails/observer/observer_generator.rb index 9332c3542a..f5cedee91f 100644 --- a/railties/lib/generators/rails/observer/observer_generator.rb +++ b/railties/lib/generators/rails/observer/observer_generator.rb @@ -1,7 +1,7 @@ module Rails module Generators class ObserverGenerator < NamedBase #metagenerator - hook_for :orm + hook_for :orm, :required => true end end end |