Skip to content

Commit

Permalink
Updated README to use MongoMapper::Document.plugin instead of MongoMa…
Browse files Browse the repository at this point in the history
…pper::Document.append_inclusions
  • Loading branch information
rlivsey committed Jun 15, 2011
1 parent d49e04a commit 98aab75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -10,7 +10,7 @@ https://gist.github.com/268948/c5ca7d8fb02470c5c8a0a8225390a4186349a8d4
Either load it into all models, or individual models:

# add to all models
MongoMapper::Document.append_inclusions(MongoMapper::Plugins::MultiParameterAttributes)
MongoMapper::Document.plugin(MongoMapper::Plugins::MultiParameterAttributes)

# add to a specific model
plugin MongoMapper::Plugins::MultiParameterAttributes
Expand Down

0 comments on commit 98aab75

Please sign in to comment.