Skip to content

Conversation

@jasonblalock
Copy link
Contributor

I wanted to be able to store the feature toggles inside the encrypted rails session instead of individually as cookies. In case this was a feature others were interested in, I created a PR to add it in.

The only piece I'm not sure on is adding the controller filters based on feature strategy in the declarable class. Ideas are welcome.


# The recommended Flip strategy stack.
strategy Flip::CookieStrategy
strategy Flip::CookieStrategy # alternatively can use strategy Flip::CookieStrategy for session-based
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a copy-paste error in this string.

Perhaps this is better:

# Alternative: Use Flip::SessionStrategy to use Rails' encrypted sessions instead of cookies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants