lib/rasti/db/collection.rb in rasti-db-0.2.0 vs lib/rasti/db/collection.rb in rasti-db-0.2.1

- old
+ new

@@ -189,10 +189,10 @@ def type_converter @type_converter ||= TypeConverter.new db, qualified_collection_name end def qualified_collection_name - schema.nil? ? self.class.collection_name : Sequel.qualify(schema, self.class.collection_name) + schema.nil? ? self.class.collection_name : Sequel[schema][self.class.collection_name] end def build_query(filter=nil, &block) raise ArgumentError, 'must specify filter hash or block' if filter.nil? && block.nil? if filter \ No newline at end of file