Slide 26
Slide 26 text
# hits for a specific user
>> $redis.zscore "users:statuses#update", 1001
=> 42
# list all the controller actions, sorted
>> $redis.zrevrange "actions", 0, -1,
:with_scores => true
=> ["home#index", "2936",
"statuses#update", "1410",
"users#create", "931"]
Tuesday, August 10, 2010