Skip to content

Commit

Permalink
a little doco
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Oct 25, 2009
1 parent 80419cc commit 59cec8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mongoid/document.rb
Expand Up @@ -166,6 +166,7 @@ def new_record?
@attributes[:_id].nil?
end

# Notify observers that this Document has changed.
def notify
changed(true)
notify_observers(self)
Expand Down

0 comments on commit 59cec8f

Please sign in to comment.