forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove references to AR::Observer from docs
ActiveRecord::Observer was extracted into a separate gem so it should not be referenced anymore (see rails@ccecab3)
- Loading branch information
Showing
2 changed files
with
0 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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('[email protected]', comment).deliver | ||
end | ||
end | ||
|
||
{Learn more}[link:classes/ActiveRecord/Observer.html] | ||
|
||
|
||
* Inheritance hierarchies. | ||
|
||
class Company < ActiveRecord::Base; end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters