From b7294944547c984bb92864493435b516e68bd623 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 23 Aug 2018 00:40:32 +0900 Subject: Partly revert unused accessor This was introduced at 24f6bf0d96b58f2b2ef6a886c93d35cf8ce4f293. --- .../lib/active_record/connection_adapters/abstract_adapter.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 529d099e16..66ef8f0db3 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -77,14 +77,7 @@ module ActiveRecord SIMPLE_INT = /\A\d+\z/ attr_accessor :visitor, :pool - - attr_reader :schema_cache, - :owner, - :logger, - :prepared_statements, - :lock, - :advisory_locks - + attr_reader :schema_cache, :owner, :logger, :prepared_statements, :lock alias :in_use? :owner def self.type_cast_config_to_integer(config) -- cgit v1.2.3