Skip to content

Commit f778281

Browse files
committed
Remove deprecated tasks in railties
1 parent 7563bf7 commit f778281

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

railties/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* Remove deprecated tasks: `rails:update`, `rails:template`, `rails:template:copy`,
2+
`rails:update:configs` and `rails:update:bin`.
3+
4+
*Rafael Mendonça França*
5+
16
* Remove deprecated file `rails/rack/debugger`.
27

38
*Rafael Mendonça França*

railties/lib/rails/tasks/framework.rake

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,3 @@ namespace :app do
7373
end
7474
end
7575
end
76-
77-
namespace :rails do
78-
%i(update template templates:copy update:configs update:bin).each do |task_name|
79-
task "#{task_name}" do
80-
ActiveSupport::Deprecation.warn(<<-MSG.squish)
81-
Running #{task_name} with the rails: namespace is deprecated in favor of app: namespace.
82-
Run bin/rails app:#{task_name} instead.
83-
MSG
84-
Rake.application.invoke_task("app:#{task_name}")
85-
end
86-
end
87-
end

0 commit comments

Comments
 (0)