• Bob Van Landuyt's avatar
    Only check request_deadline flag once per request · cfe4caaf
    Bob Van Landuyt authored
    Every time we check a feature flag using `Feature.enabled?` it could
    return a different value based on the percentage that it's enabled
    for.
    
    So making sure we only call this value once per request, so we have a
    consistent state for the entire request.
    cfe4caaf
request_context_spec.rb 2.03 KB