---
title: Ruby-SDK - 3.8.0
slug: feature-experimentation/release-notes/ruby-sdk-3-8-0
docTags: 
createdAt: 2026-07-20T15:45:30.265Z
---

## 3.8.0

February 16th, 2021

### New Features:

Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (\[#274]\([https://github.com/optimizely/ruby-sdk/pull/274](https://github.com/optimizely/ruby-sdk/pull/274)), \[#279]\([https://github.com/optimizely/ruby-sdk/pull/279](https://github.com/optimizely/ruby-sdk/pull/279))). The new \`OptimizelyUserContext\` class is instantiated with \`create\_user\_context\` and exposes the following APIs to get \`OptimizelyDecision\`:

- set\_attribute
- decide
- decide\_all
- decide\_for\_keys
- track\_event

For details, refer to our documentation page: [https://docs.developers.optimizely.com/full-stack/v4.0/docs/ruby-sdk](docId\:TbUXDqEyluYHD-gNKMgPd).

[https://github.com/optimizely/ruby-sdk/releases/tag/3.8.0](https://github.com/optimizely/ruby-sdk/releases/tag/3.8.0)
