diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-25 11:24:35 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-25 11:24:35 +0200 |
commit | 4573fd2e06ee9b5a68f84f085f0a10c9ad6f129b (patch) | |
tree | 5564b3eea0676aead0bf502a13f02ae1d73fd541 /railties/lib/generators/rails/observer/templates/observer.rb | |
parent | eaef1ee09c4bd2ed11722660fddf9b4e7e1384cc (diff) | |
download | rails-4573fd2e06ee9b5a68f84f085f0a10c9ad6f129b.tar.gz rails-4573fd2e06ee9b5a68f84f085f0a10c9ad6f129b.tar.bz2 rails-4573fd2e06ee9b5a68f84f085f0a10c9ad6f129b.zip |
Added observer generator.
Diffstat (limited to 'railties/lib/generators/rails/observer/templates/observer.rb')
-rw-r--r-- | railties/lib/generators/rails/observer/templates/observer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/observer/templates/observer.rb b/railties/lib/generators/rails/observer/templates/observer.rb new file mode 100644 index 0000000000..b9a3004161 --- /dev/null +++ b/railties/lib/generators/rails/observer/templates/observer.rb @@ -0,0 +1,2 @@ +class <%= class_name %>Observer < ActiveRecord::Observer +end |