From 3672c5fa3aa1dc53a99bcfc7a0192566ec66434c Mon Sep 17 00:00:00 2001 From: Sokolov Yura 'funny-falcon Date: Fri, 3 Aug 2012 20:16:30 +0400 Subject: [PATCH] fix error with Tarantool::DB#space --- lib/tarantool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tarantool.rb b/lib/tarantool.rb index 626f098..a471091 100644 --- a/lib/tarantool.rb +++ b/lib/tarantool.rb @@ -98,7 +98,7 @@ def space(space_no, fields = [], opts = {}) when Array space_array(space_no, fields, opts) when Hash - space_array(space_no, fields, opts) + space_hash(space_no, fields, opts) else raise "You should specify fields as an array or hash (got #{fields.inspect})" end