From e54d5cc5dabfde7b3d5afd4dcdaf10394986178b Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 8 Feb 2012 11:31:55 -0800 Subject: use the pg column to cast values --- activerecord/lib/active_record/connection_adapters/postgresql/oid.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3