From a42770cdd806d141ae8de1fa879703967532da85 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Fri, 11 Dec 2015 12:54:51 -0500 Subject: Revert "Merge pull request #22502 from maclover7/remove-deprecation-notice" This reverts commit c2e70ca9b042a3461aac0dc073a80e84bd77eb57, reversing changes made to b0e5fc2737ed0b2f67f9b9538d01e084545493fd. this broke the build --- activerecord/lib/active_record/railties/databases.rake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 5d60b4d0f7..5b1ea16f0b 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -298,6 +298,14 @@ db_namespace = namespace :db do end namespace :test do + + task :deprecated do + Rake.application.top_level_tasks.grep(/^db:test:/).each do |task| + $stderr.puts "WARNING: #{task} is deprecated. The Rails test helper now maintains " \ + "your test schema automatically, see the release notes for details." + end + end + # desc "Recreate the test database from the current schema" task :load => %w(db:test:purge) do case ActiveRecord::Base.schema_format -- cgit v1.2.3