instance method flush

Ruby on Rails 8.1.3.1

Since v8.1.3.1

Signature

flush()

No documentation comment.

Source
# File activesupport/lib/active_support/execution_context.rb, line 27
      def flush
        @stack = Array.new(@stack.size) { {} }
        @store = {}
        @current_attributes_instances = {}
        self
      end

Defined in activesupport/lib/active_support/execution_context.rb line 27 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::ExecutionContext::Record

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close