From 921997675258147fdc2bbbca0da4fb0c771c218d Mon Sep 17 00:00:00 2001 From: schneems Date: Thu, 7 Jan 2016 17:12:26 -0600 Subject: [ci skip] Add comment to remove silenced code. --- .../lib/active_record/connection_adapters/abstract_mysql_adapter.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb index 25ba42e5c9..2bc736d63f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb @@ -521,6 +521,7 @@ module ActiveRecord end def table_exists?(table_name) + # Update lib/active_record/internal_metadata.rb when this gets removed ActiveSupport::Deprecation.warn(<<-MSG.squish) #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. -- cgit v1.2.3