1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove needless ActiveSupport::Deprecation.silence

This commit is contained in:
Ryuta Kamizono 2016-12-31 03:54:37 +09:00
parent 18325d7333
commit 90715d8e2f

View file

@ -28,9 +28,7 @@ module Rails
return @rake_tasks if defined?(@rake_tasks)
ActiveSupport::Deprecation.silence do
require_application_and_environment!
end
require_application_and_environment!
Rake::TaskManager.record_task_metadata = true
Rake.application.instance_variable_set(:@name, "rails")