This indicates my testing was incorrect or this block is never actually used. I suppose @secure_headers_options is always defined? (no nil is not a valid value here)