diff options
author | claudiob <claudiob@gmail.com> | 2012-11-30 13:54:03 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2012-11-30 13:54:03 -0800 |
commit | 20c03e7037dc480ef43bda893435dcd178cc639b (patch) | |
tree | f34aedf71bb9b7427887b88c111b710c4dc265c0 /activerecord | |
parent | 76c432f5868c8f626a2d38b63b46606e5b1323ff (diff) | |
download | rails-20c03e7037dc480ef43bda893435dcd178cc639b.tar.gz rails-20c03e7037dc480ef43bda893435dcd178cc639b.tar.bz2 rails-20c03e7037dc480ef43bda893435dcd178cc639b.zip |
Remove references to AR::Observer from docs
ActiveRecord::Observer was extracted into a separate gem so it
should not be referenced anymore (see https://github.com/rails/rails/commit/ccecab3)
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/README.rdoc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc index cc8942809c..9fc6785d99 100644 --- a/activerecord/README.rdoc +++ b/activerecord/README.rdoc @@ -80,17 +80,6 @@ A short rundown of some of the major features: {Learn more}[link:classes/ActiveRecord/Callbacks.html] -* Observers that react to changes in a model. - - class CommentObserver < ActiveRecord::Observer - def after_create(comment) # is called just after Comment#save - CommentMailer.new_comment_email('david@loudthinking.com', comment).deliver - end - end - - {Learn more}[link:classes/ActiveRecord/Observer.html] - - * Inheritance hierarchies. class Company < ActiveRecord::Base; end |