lib/rasti/db/collection.rb in rasti-db-0.2.1 vs lib/rasti/db/collection.rb in rasti-db-0.2.2
- old
+ new
@@ -82,10 +82,10 @@
attr_reader :db, :schema
def initialize(db, schema=nil)
@db = db
- @schema = schema
+ @schema = schema.to_sym if schema
end
def dataset
db[qualified_collection_name]
end
\ No newline at end of file