From e7e49a07349b808743a868693ab6b092a745abcf Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Mon, 1 Jul 2013 21:12:51 -0500 Subject: Remove deprecated AR::Connection#clear_stale_cached_connections! method --- .../active_record/connection_adapters/abstract/connection_pool.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index 816b397fcf..811749c7fd 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -332,11 +332,6 @@ module ActiveRecord end end - def clear_stale_cached_connections! # :nodoc: - reap - end - deprecate :clear_stale_cached_connections! => "Please use #reap instead" - # Check-out a database connection from the pool, indicating that you want # to use it. You should call #checkin when you no longer need this. # -- cgit v1.2.3