aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-28 18:17:33 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-28 18:48:01 +0900
commit893c647da37189543b2c2d55b07d414b1ba8b0d0 (patch)
tree6342078c64e0ad4db69d4ccb77405bdf3ed89d73 /activerecord/test/models
parent50226c8fe0498713c89679713a407777ece16205 (diff)
downloadrails-893c647da37189543b2c2d55b07d414b1ba8b0d0.tar.gz
rails-893c647da37189543b2c2d55b07d414b1ba8b0d0.tar.bz2
rails-893c647da37189543b2c2d55b07d414b1ba8b0d0.zip
Use dedicated `Topic` model for `SerializedAttributeTest`
This fixes both #34555 and #34738. Revert "Merge pull request #34900 from gmcgibbon/fix_test_find_only_some_columns" This reverts commit ff807f823b869d3491935a096183ee2bebd58e7b, reversing changes made to 9f1a07af0499080c9fd8815705a03a4c7e8fb506. Revert "Merge pull request #34560 from gmcgibbon/fix_decorate_leak_on_serial_attr_test" This reverts commit bd62389307e138ee0f274a9d62697567a3334ea0, reversing changes made to ec66c6a2fa4ee200259341a18ecd96310f388ba3. Revert "Fix unstable `test_serialized_attribute_works_under_concurrent_initial_access` test" This reverts commit 65c4b1b50df3fa59198de2d45d1f54b61ecc7864.
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/topic.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/models/topic.rb b/activerecord/test/models/topic.rb
index 0c8880a20e..77101090f2 100644
--- a/activerecord/test/models/topic.rb
+++ b/activerecord/test/models/topic.rb
@@ -119,10 +119,6 @@ class Topic < ActiveRecord::Base
end
end
-class ImportantTopic < Topic
- serialize :important, Hash
-end
-
class DefaultRejectedTopic < Topic
default_scope -> { where(approved: false) }
end