diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-03-12 22:52:28 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2019-03-12 22:52:28 +0100 |
commit | 49676e40547b8dcbd38aa927cfd7995957504493 (patch) | |
tree | 5d64f0a1f77e5ec00c9b5dbe042666fcf051727a /activerecord/lib/active_record | |
parent | f45084c746a79cee3ff6c08fc4e42be15cac2bba (diff) | |
parent | 65f2eeaaf5774f0891fff700f4defb0b90a05789 (diff) | |
download | rails-49676e40547b8dcbd38aa927cfd7995957504493.tar.gz rails-49676e40547b8dcbd38aa927cfd7995957504493.tar.bz2 rails-49676e40547b8dcbd38aa927cfd7995957504493.zip |
Merge branch 'test-remove-marshal-support-from-schema-cache'
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/schema_cache.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/schema_cache.rb b/activerecord/lib/active_record/connection_adapters/schema_cache.rb index 2653e3c74e..69b7a6e690 100644 --- a/activerecord/lib/active_record/connection_adapters/schema_cache.rb +++ b/activerecord/lib/active_record/connection_adapters/schema_cache.rb @@ -103,16 +103,6 @@ module ActiveRecord @data_sources.delete name end - def marshal_dump - # if we get current version during initialization, it happens stack over flow. - @version = connection.migration_context.current_version - [@version, @columns, @columns_hash, @primary_keys, @data_sources] - end - - def marshal_load(array) - @version, @columns, @columns_hash, @primary_keys, @data_sources = array - end - private def prepare_data_sources |