diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-02-27 22:24:54 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-02-27 22:27:07 +0530 |
commit | 8399dbb4430266818176f7bbe160d9c1a05508d4 (patch) | |
tree | ae134b2228b152729d2b1c56d85150914bc9e18d /railties | |
parent | ecf6dc3dfbc0cdf1b0a86f48e030debd0f917cb6 (diff) | |
download | rails-8399dbb4430266818176f7bbe160d9c1a05508d4.tar.gz rails-8399dbb4430266818176f7bbe160d9c1a05508d4.tar.bz2 rails-8399dbb4430266818176f7bbe160d9c1a05508d4.zip |
Update deprecation message shown when tasks from rails namespace are run
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/tasks/framework.rake | 4 |
1 files 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 |