diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-08 11:31:55 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-08 11:31:55 -0800 |
commit | e54d5cc5dabfde7b3d5afd4dcdaf10394986178b (patch) | |
tree | 1e8304ac563522bcebdf2bb646befbb036c2d313 /activerecord | |
parent | 0f1b7591cf6cf30eb60cd4ccde1ca666225a95c3 (diff) | |
download | rails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.tar.gz rails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.tar.bz2 rails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.zip |
use the pg column to cast values
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/oid.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb index 4ab4fc8aa3..2adc3f4b8e 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb @@ -94,7 +94,7 @@ module ActiveRecord # FIXME: probably we can improve this since we know it is PG # specific - ConnectionAdapters::Column.string_to_time value + ConnectionAdapters::PostgreSQLColumn.string_to_time value end end |