lib/mongoid/collections.rb in mongoid-2.0.0.beta.15 vs lib/mongoid/collections.rb in mongoid-2.0.0.beta.16
- old
+ new
@@ -54,10 +54,10 @@
# Macro for setting the collection name to store in.
#
# Example:
#
- # <tt>Person.store_in :populdation</tt>
+ # <tt>Person.store_in :population</tt>
def store_in(name)
self.collection_name = name.to_s
set_collection
end