method

set

rails latest stable - Class: ActiveSupport::ExecutionContext
set(**options)
public

Updates the execution context. If a block is given, it resets the provided keys to their previous value once the block exits.