class AbstractController::Base

def clear_action_methods!

you run action_methods, they will be recalculated
them. clear_action_methods! allows you to do that, so next time
action_methods are cached and there is sometimes need to refresh
def clear_action_methods!
  @action_methods = nil
end