mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 01:54:40 +01:00
{Fix,Big}Num => Integer
This commit is contained in:
parent
b698263f37
commit
6adbef3671
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ module Rebel::SQL
|
|||
case v
|
||||
when Raw then v
|
||||
when String then raw "'#{v.tr("'", "''")}'"
|
||||
when Fixnum then raw v.to_s
|
||||
when Fixnum, Bignum, Integer then raw v.to_s
|
||||
when nil then raw 'NULL'
|
||||
else fail NotImplementedError, v.inspect
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue