Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added NOTE on using lambda for the rank_conditional

  • Loading branch information...
commit 0715e798fac32764f2a41bad7636d14c450bf8a2 1 parent d8977ec
@czarneckid czarneckid authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.markdown
2  README.markdown
@@ -256,6 +256,8 @@ highscore_lb.score_for('david')
=> 1338.0
+NOTE: Use a lambda and not a proc, otherwise you will get a `LocalJumpError` as a return statement in the proc will return from the method enclosing the proc.
### Ranking multiple members in a leaderboard at once
Insert multiple data items for members and their associated scores:
Please sign in to comment.
Something went wrong with that request. Please try again.