diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-14 11:59:46 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-14 11:59:46 -0700 |
commit | c760dbfd3117562c6f27170a213f586e3ba2b794 (patch) | |
tree | 70760f70e9faa4ad37daa4703d0cef307e670a3f /activerecord/lib | |
parent | 4e323f6ef09fed146a9302d7b7e3f09934de6e37 (diff) | |
download | rails-c760dbfd3117562c6f27170a213f586e3ba2b794.tar.gz rails-c760dbfd3117562c6f27170a213f586e3ba2b794.tar.bz2 rails-c760dbfd3117562c6f27170a213f586e3ba2b794.zip |
PostgreSQL: don't dump :limit => 4 for integers
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index 29ecd83ba0..6d16d72dea 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -49,7 +49,6 @@ module ActiveRecord private def extract_limit(sql_type) case sql_type - when /^integer/i; 4 when /^bigint/i; 8 when /^smallint/i; 2 else super |