Skip to content
Browse files

Fix column type check error in changeset [4280]. [Michael A. Schoen]

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 71ff705 commit 24e3759f864c54553c0b48ca924f7276891a60af Marcel Molina committed
2  activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
@@ -210,7 +210,7 @@ def quote_string(string) #:nodoc:
def quote(value, column = nil) #:nodoc:
- if column && column.sql_type =~ /LOB$/i
+ if column && [:text, :binary].include?(column.type)
%Q{empty_#{ column.sql_type rescue 'blob' }()}
case value

0 comments on commit 24e3759

Please sign in to comment.
Something went wrong with that request. Please try again.