diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-20 14:56:10 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-20 14:56:10 -0300 |
commit | 4f416465772662967c433b1f6bc7efa4b1993695 (patch) | |
tree | e53a24f3f27055dad3ea4aa572df2f0ba49d7645 /activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |
parent | b713e207d470fe01ce8ea945163c6c2540292301 (diff) | |
parent | b2242d1feadf84090d5d46af13e66548b662a3d0 (diff) | |
download | rails-4f416465772662967c433b1f6bc7efa4b1993695.tar.gz rails-4f416465772662967c433b1f6bc7efa4b1993695.tar.bz2 rails-4f416465772662967c433b1f6bc7efa4b1993695.zip |
Merge pull request #15201 from sgrif/sg-types-postgresql
Have Postgres OID types inherit from general types
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
1 files changed, 1 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 39fa75518b..f46af35f55 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -545,7 +545,7 @@ module ActiveRecord type_map.fetch(oid, fmod) { warn "unknown OID #{oid}: failed to recognize type of '#{column_name}'. It will be treated as String." - type_map[oid] = OID::Identity.new + type_map[oid] = Type::Value.new } end |