Permalink
Browse files

load attributes from redis response

  • Loading branch information...
1 parent 2049b00 commit 3599867fe915a209612cf24eb326d04b1355b752 @maccman maccman committed Oct 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/supermodel/redis.rb
View
@@ -143,7 +143,7 @@ def redis_set
end
def redis_get
- ActiveSupport::JSON.decode(redis.get(redis_key))
+ load(ActiveSupport::JSON.decode(redis.get(redis_key)))
end
public :redis_get

0 comments on commit 3599867

Please sign in to comment.