Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

we do not need string IDs now we are using JSON for Redis\

  • Loading branch information...
commit 2049b00a56dfb5f8e429a5f7ef97d943a3e22bd6 1 parent c09b3f7
@maccman maccman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/supermodel/redis.rb
View
2  lib/supermodel/redis.rb
@@ -123,7 +123,7 @@ def create_indexes
end
def generate_id
- redis.incr(self.class.redis_key(:uid)).to_s
+ redis.incr(self.class.redis_key(:uid))
end
def indexed_attributes
Please sign in to comment.
Something went wrong with that request. Please try again.