diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-28 22:31:40 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-28 22:31:40 +0100 |
commit | d44a3c0505ea95c27380f4df24807f3e1836f4e6 (patch) | |
tree | 0db81bdc81f6f71a1cabb4b0ff314c042b76de53 /railties/lib | |
parent | a0d6209479bee220b43061d8ffa6a8d732ffd20d (diff) | |
parent | 8399dbb4430266818176f7bbe160d9c1a05508d4 (diff) | |
download | rails-d44a3c0505ea95c27380f4df24807f3e1836f4e6.tar.gz rails-d44a3c0505ea95c27380f4df24807f3e1836f4e6.tar.bz2 rails-d44a3c0505ea95c27380f4df24807f3e1836f4e6.zip |
Merge pull request #23929 from prathamesh-sonpatki/update-deprecation-message-for-app-namespace
Update deprecation message shown when tasks from rails namespace are run
Diffstat (limited to 'railties/lib')
-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 |