aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-12-11 12:54:51 -0500
committerArthur Neves <arthurnn@gmail.com>2015-12-11 12:54:51 -0500
commita42770cdd806d141ae8de1fa879703967532da85 (patch)
tree4780e6d4f4467001787ca94b4e67b5cc43c5174c
parentc2e70ca9b042a3461aac0dc073a80e84bd77eb57 (diff)
downloadrails-a42770cdd806d141ae8de1fa879703967532da85.tar.gz
rails-a42770cdd806d141ae8de1fa879703967532da85.tar.bz2
rails-a42770cdd806d141ae8de1fa879703967532da85.zip
Revert "Merge pull request #22502 from maclover7/remove-deprecation-notice"
This reverts commit c2e70ca9b042a3461aac0dc073a80e84bd77eb57, reversing changes made to b0e5fc2737ed0b2f67f9b9538d01e084545493fd. this broke the build
-rw-r--r--activerecord/lib/active_record/railties/databases.rake8
1 files changed, 8 insertions, 0 deletions
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