lib/moped/collection.rb in moped-1.2.0 vs lib/moped/collection.rb in moped-1.2.1

- old
+ new

@@ -64,10 +64,10 @@ # @param [ Database ] database The collection's database. # @param [ String, Symbol] name The collection name. # # @since 1.0.0 def initialize(database, name) - @database, @name = database, name + @database, @name = database, name.to_s end # Insert one or more documents into the collection. # # @example Insert a single document.