Skip to content

Commit

Permalink
Remove reference to ActiveRecord from ActiveModel comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia committed Jan 15, 2011
1 parent 93c208a commit da82b0a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions activemodel/lib/active_model/observing.rb
Expand Up @@ -13,14 +13,18 @@ module ClassMethods
#
# 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
Expand Down

0 comments on commit da82b0a

Please sign in to comment.