Permalink
Browse files

doc tweak - use plugin instead of append_inclusions

  • Loading branch information...
1 parent ea40752 commit 8331c24581f64d6ef25631dc68238017254c9758 @rlivsey committed Mar 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -9,7 +9,7 @@ Note, this doesn't change finders etc... I leave that as an implementation detai
Either load it into all models, or individual models:
# add to all models
- MongoMapper::Document.append_inclusions(MongoMapper::Plugins::Paranoid)
+ MongoMapper::Document.plugin(MongoMapper::Plugins::Paranoid)
# add to a specific model
plugin MongoMapper::Plugins::Paranoid

0 comments on commit 8331c24

Please sign in to comment.