class method
self.inherited
Ruby on Rails edge
Since v3.0.20 Private — implementation detail, not part of the public APISignature
self.inherited(subclass)
No documentation comment.
Parameters
-
subclassreq
Source
# File actionpack/lib/action_controller/metal.rb, line 179
def inherited(subclass)
super
subclass.middleware_stack = ActiveSupport::Ractors.try_make_shareable(middleware_stack.dup)
subclass.class_eval do
@controller_name = nil
end
end
Defined in actionpack/lib/action_controller/metal.rb line 179
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Metal