aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-08-23 00:40:32 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-08-23 00:40:32 +0900
commitb7294944547c984bb92864493435b516e68bd623 (patch)
treef5c4edb06825a2ce88cf4587ad5e1b40c34a5060
parent24f6bf0d96b58f2b2ef6a886c93d35cf8ce4f293 (diff)
downloadrails-b7294944547c984bb92864493435b516e68bd623.tar.gz
rails-b7294944547c984bb92864493435b516e68bd623.tar.bz2
rails-b7294944547c984bb92864493435b516e68bd623.zip
Partly revert unused accessor
This was introduced at 24f6bf0d96b58f2b2ef6a886c93d35cf8ce4f293.
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_adapter.rb9
1 files changed, 1 insertions, 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)