diff options
Diffstat (limited to 'railties/lib/generators/active_record/observer')
-rw-r--r-- | railties/lib/generators/active_record/observer/observer_generator.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/generators/active_record/observer/observer_generator.rb b/railties/lib/generators/active_record/observer/observer_generator.rb index fa51c23336..a6b57423b8 100644 --- a/railties/lib/generators/active_record/observer/observer_generator.rb +++ b/railties/lib/generators/active_record/observer/observer_generator.rb @@ -8,6 +8,8 @@ module ActiveRecord def create_observer_file template 'observer.rb', File.join('app/models', class_path, "#{file_name}_observer.rb") end + + hook_for :test_framework end end end |