diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 10:23:26 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 10:36:33 -0700 |
commit | 4350a5c73f0822264ba333576b09caf871b12919 (patch) | |
tree | b526ff8ed5e08bb063d42cbda3892aa961cc418d /activerecord/lib/active_record/connection_adapters | |
parent | 5e77872ac9da3007d6bc0b86428dca9ac8881936 (diff) | |
download | rails-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.rb | 8 |
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 |