aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-29 10:23:26 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-29 10:36:33 -0700
commit4350a5c73f0822264ba333576b09caf871b12919 (patch)
treeb526ff8ed5e08bb063d42cbda3892aa961cc418d /activerecord/lib/active_record/connection_adapters
parent5e77872ac9da3007d6bc0b86428dca9ac8881936 (diff)
downloadrails-4350a5c73f0822264ba333576b09caf871b12919.tar.gz
rails-4350a5c73f0822264ba333576b09caf871b12919.tar.bz2
rails-4350a5c73f0822264ba333576b09caf871b12919.zip
fixing where clause indentation
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index c9911af9ff..a45e637dda 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -324,10 +324,10 @@ module ActiveRecord
"'#{value}'"
elsif value.kind_of?(String) && column.sql_type =~ /^bit/
case value
- when /^[01]*$/
- "B'#{value}'" # Bit-string notation
- when /^[0-9A-F]*$/i
- "X'#{value}'" # Hexadecimal notation
+ when /^[01]*$/
+ "B'#{value}'" # Bit-string notation
+ when /^[0-9A-F]*$/i
+ "X'#{value}'" # Hexadecimal notation
end
else
super