From 967b9d2ca304d5bca0517ed7082dce509461be19 Mon Sep 17 00:00:00 2001 From: Gabriel Naiman Date: Mon, 1 Mar 2021 13:25:51 -0300 Subject: [PATCH] Fix --- lib/rasti/db/type_converters/postgres.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rasti/db/type_converters/postgres.rb b/lib/rasti/db/type_converters/postgres.rb index 73ea0d7..9f7fb0d 100644 --- a/lib/rasti/db/type_converters/postgres.rb +++ b/lib/rasti/db/type_converters/postgres.rb @@ -33,7 +33,7 @@ def to_db_converters end def find_to_db_converter_and_type(db, collection_name, attribute_name) - key = [db.opts[:database], collection_name].join('.') + key = [db.opts[:database], collection_name] to_db_converters[key] ||= begin columns = Hash[db.schema(collection_name)]