Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 2049b00a56dfb5f8e429a5f7ef97d943a3e22bd6 1 parent c09b3f7
Alex MacCaw maccman authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/supermodel/redis.rb
2  lib/supermodel/redis.rb
@@ -123,7 +123,7 @@ def create_indexes
123 123 end
124 124
125 125 def generate_id
126   - redis.incr(self.class.redis_key(:uid)).to_s
  126 + redis.incr(self.class.redis_key(:uid))
127 127 end
128 128
129 129 def indexed_attributes

0 comments on commit 2049b00

Please sign in to comment.
Something went wrong with that request. Please try again.