File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change
1
+ * Removed ` update:application_controller ` rake task.
2
+
3
+ * Josef Šimánek*
4
+
1
5
* Fix ` rake environment ` to do not eager load modules
2
6
3
7
* Paul Nikitochkin*
Original file line number Diff line number Diff line change 1
1
namespace :rails do
2
- desc "Update configs and some other initially generated files (or use just update:configs, update:bin, or update:application_controller )"
3
- task update : [ "update:configs" , "update:bin" , "update:application_controller" ]
2
+ desc "Update configs and some other initially generated files (or use just update:configs or update:bin )"
3
+ task update : [ "update:configs" , "update:bin" ]
4
4
5
5
desc "Applies the template supplied by LOCATION=(/path/to/template) or URL"
6
6
task :template do
@@ -62,15 +62,5 @@ namespace :rails do
62
62
task :bin do
63
63
invoke_from_app_generator :create_bin_files
64
64
end
65
-
66
- # desc "Rename application.rb to application_controller.rb"
67
- task :application_controller do
68
- old_style = Rails . root + '/app/controllers/application.rb'
69
- new_style = Rails . root + '/app/controllers/application_controller.rb'
70
- if File . exists? ( old_style ) && !File . exists? ( new_style )
71
- FileUtils . mv ( old_style , new_style )
72
- puts "#{ old_style } has been renamed to #{ new_style } , update your SCM as necessary"
73
- end
74
- end
75
65
end
76
66
end
You can’t perform that action at this time.
0 commit comments