Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member data key change? #40

Closed
jgadbois opened this issue May 23, 2013 · 2 comments
Closed

Member data key change? #40

jgadbois opened this issue May 23, 2013 · 2 comments

Comments

@jgadbois
Copy link
Contributor

Did the member_data key change between versions 2.2 and current? I updated to try to get this working with the new redis-rb version and my member_data is always nil now. Any suggestions on migrating member_data?

@czarneckid
Copy link
Member

Yes, this is definitely a breaking change between 2.x and 3.x, hence one of the reasons for the major version bump. This was proposed in #26. I had requested feedback from you since you were the original author of the optional member data functionality.

In 2.x, optional member data is stored in:

"#{leaderboard_name}:member_data:#{member}"

In 3.x, optional member data is stored in:

"#{leaderboard_name}:member_data"

@jgadbois
Copy link
Contributor Author

That's right, my bad. See my comments in #39

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

No branches or pull requests

2 participants