File tree Expand file tree Collapse file tree 12 files changed +12
-12
lines changed
actioncable/lib/action_cable
actionmailbox/lib/action_mailbox
actionmailer/lib/action_mailer
actiontext/lib/action_text
actionview/lib/action_view
activemodel/lib/active_model
activerecord/lib/active_record
activestorage/lib/active_storage
activesupport/lib/active_support Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Engine < Rails::Engine # :nodoc:
10
10
config . action_cable . mount_path = ActionCable ::INTERNAL [ :default_mount_path ]
11
11
config . action_cable . precompile_assets = true
12
12
13
- initializer "action_cable.deprecator" do |app |
13
+ initializer "action_cable.deprecator" , before : :load_environment_config do |app |
14
14
app . deprecators [ :action_cable ] = ActionCable . deprecator
15
15
end
16
16
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class Engine < Rails::Engine
22
22
23
23
config . action_mailbox . storage_service = nil
24
24
25
- initializer "action_mailbox.deprecator" do |app |
25
+ initializer "action_mailbox.deprecator" , before : :load_environment_config do |app |
26
26
app . deprecators [ :action_mailbox ] = ActionMailbox . deprecator
27
27
end
28
28
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Railtie < Rails::Railtie # :nodoc:
11
11
config . action_mailer . preview_paths = [ ]
12
12
config . eager_load_namespaces << ActionMailer
13
13
14
- initializer "action_mailer.deprecator" do |app |
14
+ initializer "action_mailer.deprecator" , before : :load_environment_config do |app |
15
15
app . deprecators [ :action_mailer ] = ActionMailer . deprecator
16
16
end
17
17
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Railtie < Rails::Railtie # :nodoc:
17
17
config . eager_load_namespaces << AbstractController
18
18
config . eager_load_namespaces << ActionController
19
19
20
- initializer "action_controller.deprecator" do |app |
20
+ initializer "action_controller.deprecator" , before : :load_environment_config do |app |
21
21
app . deprecators [ :action_controller ] = ActionController . deprecator
22
22
end
23
23
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class Railtie < Rails::Railtie # :nodoc:
41
41
42
42
config . eager_load_namespaces << ActionDispatch
43
43
44
- initializer "action_dispatch.deprecator" do |app |
44
+ initializer "action_dispatch.deprecator" , before : :load_environment_config do |app |
45
45
app . deprecators [ :action_dispatch ] = ActionDispatch . deprecator
46
46
end
47
47
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Engine < Rails::Engine
19
19
#{ root } /app/models
20
20
)
21
21
22
- initializer "action_text.deprecator" do |app |
22
+ initializer "action_text.deprecator" , before : :load_environment_config do |app |
23
23
app . deprecators [ :action_text ] = ActionText . deprecator
24
24
end
25
25
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class Railtie < Rails::Engine # :nodoc:
73
73
end
74
74
end
75
75
76
- initializer "action_view.deprecator" do |app |
76
+ initializer "action_view.deprecator" , before : :load_environment_config do |app |
77
77
app . deprecators [ :action_view ] = ActionView . deprecator
78
78
end
79
79
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Railtie < Rails::Railtie # :nodoc:
10
10
config . active_job . custom_serializers = [ ]
11
11
config . active_job . log_query_tags_around_perform = true
12
12
13
- initializer "active_job.deprecator" do |app |
13
+ initializer "active_job.deprecator" , before : :load_environment_config do |app |
14
14
app . deprecators [ :active_job ] = ActiveJob . deprecator
15
15
end
16
16
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class Railtie < Rails::Railtie # :nodoc:
9
9
10
10
config . active_model = ActiveSupport ::OrderedOptions . new
11
11
12
- initializer "active_model.deprecator" do |app |
12
+ initializer "active_model.deprecator" , before : :load_environment_config do |app |
13
13
app . deprecators [ :active_model ] = ActiveModel . deprecator
14
14
end
15
15
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class Railtie < Rails::Railtie # :nodoc:
75
75
require "active_record/base"
76
76
end
77
77
78
- initializer "active_record.deprecator" do |app |
78
+ initializer "active_record.deprecator" , before : :load_environment_config do |app |
79
79
app . deprecators [ :active_record ] = ActiveRecord . deprecator
80
80
end
81
81
You can’t perform that action at this time.
0 commit comments