We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a04ae2c + 5c41214 commit d5a993eCopy full SHA for d5a993e
lib/active_model_serializers.rb
@@ -9,7 +9,7 @@
9
require 'action_controller/serialization'
10
require 'action_controller/serialization_test_case'
11
12
- ActiveSupport.on_load(:after_initialize) do
+ ActiveSupport.on_load(:action_controller) do
13
if ::ActionController::Serialization.enabled
14
ActionController::Base.send(:include, ::ActionController::Serialization)
15
ActionController::TestCase.send(:include, ::ActionController::SerializationAssertions)
0 commit comments