diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-15 15:48:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-15 15:48:38 +0000 |
commit | d1917cfea24af7c6a88975d600867a0ba6dd2d69 (patch) | |
tree | 4c2af01d14d4a74ca8a66af2ece4e4d22a19b425 /activerecord/lib/active_record/connection_adapters/oracle_adapter.rb | |
parent | 64a80ef756ae89e85470b598e9c09b66d50a8103 (diff) | |
download | rails-d1917cfea24af7c6a88975d600867a0ba6dd2d69.tar.gz rails-d1917cfea24af7c6a88975d600867a0ba6dd2d69.tar.bz2 rails-d1917cfea24af7c6a88975d600867a0ba6dd2d69.zip |
Skip column options for primary keys. Closes #7048.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/oracle_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/oracle_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb b/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb index 6a0209fceb..01408933f4 100644 --- a/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb @@ -172,7 +172,7 @@ begin def quote(value, column = nil) #:nodoc: if column && [:text, :binary].include?(column.type) - %Q{empty_#{ column.sql_type rescue 'blob' }()} + %Q{empty_#{ column.sql_type.downcase rescue 'blob' }()} else super end |