lib/mongo_mapper/plugins/indexes.rb in mongo_mapper-0.8.6 vs lib/mongo_mapper/plugins/indexes.rb in mongo_mapper-0.9.0

- old
+ new

@@ -1,8 +1,10 @@ # encoding: UTF-8 module MongoMapper module Plugins module Indexes + extend ActiveSupport::Concern + module ClassMethods def ensure_index(spec, options={}) collection.create_index(spec, options) end end \ No newline at end of file