aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model_schema.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-03-31 15:25:29 -0600
committerSean Griffin <sean@seantheprogrammer.com>2016-03-31 15:25:59 -0600
commit7fd72fa4b779c812c98cfb748287554ba5090f6b (patch)
treefad1af8ca0c632de6b2b6547c5cc4497d61e5566 /activerecord/lib/active_record/model_schema.rb
parent9d36a5d750407822c2825c711faae07bf29252f1 (diff)
downloadrails-7fd72fa4b779c812c98cfb748287554ba5090f6b.tar.gz
rails-7fd72fa4b779c812c98cfb748287554ba5090f6b.tar.bz2
rails-7fd72fa4b779c812c98cfb748287554ba5090f6b.zip
Revert "Deprecate table names containing dots"
This reverts commit 7b82e1c77b48cb351da4e0ed6ea0bac806d4925c. This would have removed the ability to reference a schema when using PG
Diffstat (limited to 'activerecord/lib/active_record/model_schema.rb')
-rw-r--r--activerecord/lib/active_record/model_schema.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb
index 4c836378e0..52eab952e1 100644
--- a/activerecord/lib/active_record/model_schema.rb
+++ b/activerecord/lib/active_record/model_schema.rb
@@ -144,13 +144,6 @@ module ActiveRecord
def table_name=(value)
value = value && value.to_s
- if value && value.include?(".")
- # When this deprecation warning is removed, revert commit 04ac5655be91f49cd4dfe2838df96213502fb274
- ActiveSupport::Deprecation.warn(
- 'Support for table names containing "." is deprecated and will be removed in Rails 5.1.'
- )
- end
-
if defined?(@table_name)
return if value == @table_name
reset_column_information if connected?