aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-06-05 17:30:11 +0900
committerAaron Patterson <aaron.patterson@gmail.com>2013-06-05 17:30:11 +0900
commit04347540510aff4ce7df2abafcc517de338bd668 (patch)
tree76d395d9cbbacc39f2c532993a9a492dd7bfc5e2 /activerecord/test/cases/adapters/postgresql
parent00ce4b4aa176ff5bd07d01d1fae5d7ee27b53e8f (diff)
downloadrails-04347540510aff4ce7df2abafcc517de338bd668.tar.gz
rails-04347540510aff4ce7df2abafcc517de338bd668.tar.bz2
rails-04347540510aff4ce7df2abafcc517de338bd668.zip
the typecast value should be passed to the serializer. fixes #10830
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql')
-rw-r--r--activerecord/test/cases/adapters/postgresql/bytea_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/bytea_test.rb b/activerecord/test/cases/adapters/postgresql/bytea_test.rb
index f3990980eb..489efac932 100644
--- a/activerecord/test/cases/adapters/postgresql/bytea_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/bytea_test.rb
@@ -92,7 +92,6 @@ class PostgresqlByteaTest < ActiveRecord::TestCase
end
def test_serialize
- serializer = Serializer.new
klass = Class.new(ByteaDataType) {
serialize :serialized, Serializer.new
}