aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-02-08 11:31:55 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-02-08 11:31:55 -0800
commite54d5cc5dabfde7b3d5afd4dcdaf10394986178b (patch)
tree1e8304ac563522bcebdf2bb646befbb036c2d313
parent0f1b7591cf6cf30eb60cd4ccde1ca666225a95c3 (diff)
downloadrails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.tar.gz
rails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.tar.bz2
rails-e54d5cc5dabfde7b3d5afd4dcdaf10394986178b.zip
use the pg column to cast values
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/oid.rb2
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