From 8399dbb4430266818176f7bbe160d9c1a05508d4 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 27 Feb 2016 22:24:54 +0530 Subject: Update deprecation message shown when tasks from rails namespace are run --- railties/lib/rails/tasks/framework.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake index ae92836407..bf25b74627 100644 --- a/railties/lib/rails/tasks/framework.rake +++ b/railties/lib/rails/tasks/framework.rake @@ -73,8 +73,8 @@ namespace :rails do %i(update template templates:copy update:configs update:bin).each do |task_name| task "#{task_name}" do ActiveSupport::Deprecation.warn(<<-MSG.squish) - Running #{task_name} with the rails: namespace is deprecated in favor of app. - Run e.g. bin/rails app:#{task_name} instead." + Running #{task_name} with the rails: namespace is deprecated in favor of app: namespace. + Run bin/rails app:#{task_name} instead. MSG Rake.application.invoke_task("app:#{task_name}") end -- cgit v1.2.3