```ruby
module RescueTracer
  class Railtie < Rails::Railtie
    initializer "rescue_tracer" do
      ActionController::Base.send(:include, RescueTracer::Traceable)
    end
  end
end
```

Use AS.on_load when touching AC::Base in the initializer
user
```ruby
module RescueTracer
  class Railtie < Rails::Railtie
    initializer "rescue_tracer" do
      ActiveSupport.on_load(:action_controller) do
        ActionController::Base.send(:include, RescueTracer::Traceable)
      end
    end
  end
end
```
assistant