replace class_eval in AbstractController::Helpers::ClassMethods#helper_method and ActionController::LogSubscriber