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