fluiddb 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/FluidDb.rb +1 -1
- metadata +1 -1
data/lib/FluidDb.rb
CHANGED
@@ -55,7 +55,7 @@ module FluidDb
|
|
55
55
|
sql = sql.sub( "?", v.to_s )
|
56
56
|
elsif v.is_a?(Numeric) then
|
57
57
|
sql = sql.sub( "?", v.to_s )
|
58
|
-
elsif v.
|
58
|
+
elsif v.nil? then
|
59
59
|
sql = sql.sub( "?", 'NULL' )
|
60
60
|
else
|
61
61
|
raise ParamTypeNotSupportedError.new( "Name of unknown param type, #{v.class.name}, for sql, #{sql}" )
|