class method
self.clear_action_methods!
Ruby on Rails 6.0.6
Since v3.0.20Signature
self.clear_action_methods!()
action_methods are cached and there is sometimes a need to refresh them. ::clear_action_methods! allows you to do that, so next time you run action_methods, they will be recalculated.
Source
# File actionpack/lib/abstract_controller/base.rb, line 92
def clear_action_methods!
@action_methods = nil
end
Defined in actionpack/lib/abstract_controller/base.rb line 92
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Base