aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorbrainopia <brainopia@evilmartians.com>2011-01-15 03:10:10 +0300
committerbrainopia <brainopia@evilmartians.com>2011-01-15 03:10:10 +0300
commitda82b0a746c36ea1274041b0d2401903abf33904 (patch)
treec4fad31c22e986b8380d9e5d7264017b1922377f /activemodel
parent93c208a630e5cd96071ed5581fcd1c23708b3817 (diff)
downloadrails-da82b0a746c36ea1274041b0d2401903abf33904.tar.gz
rails-da82b0a746c36ea1274041b0d2401903abf33904.tar.bz2
rails-da82b0a746c36ea1274041b0d2401903abf33904.zip
Remove reference to ActiveRecord from ActiveModel comments
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/observing.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/observing.rb b/activemodel/lib/active_model/observing.rb
index 0d2dd36e59..bf4fd0740c 100644
--- a/activemodel/lib/active_model/observing.rb
+++ b/activemodel/lib/active_model/observing.rb
@@ -13,14 +13,18 @@ module ActiveModel
#
# Activates the observers assigned. Examples:
#
+ # class ORM
+ # include ActiveModel::Observing
+ # end
+ #
# # Calls PersonObserver.instance
- # ActiveRecord::Base.observers = :person_observer
+ # ORM.observers = :person_observer
#
# # Calls Cacher.instance and GarbageCollector.instance
- # ActiveRecord::Base.observers = :cacher, :garbage_collector
+ # ORM.observers = :cacher, :garbage_collector
#
# # Same as above, just using explicit class references
- # ActiveRecord::Base.observers = Cacher, GarbageCollector
+ # ORM.observers = Cacher, GarbageCollector
#
# Note: Setting this does not instantiate the observers yet.
# +instantiate_observers+ is called during startup, and before