mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 01:54:40 +01:00
Improve feedback for unsupported value type
This commit is contained in:
parent
978dca51bf
commit
818da9047a
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ module Rebel::SQL
|
|||
when TrueClass, FalseClass then raw(v ? 'TRUE' : 'FALSE')
|
||||
when Date, Time, DateTime then value(v.iso8601)
|
||||
when nil then raw 'NULL'
|
||||
else raise NotImplementedError, v.inspect
|
||||
else raise NotImplementedError, "#{v.class}: #{v.inspect}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue