lib/redis_collection.rb in redis_collection-0.1.0 vs lib/redis_collection.rb in redis_collection-0.2.0

- old
+ new

@@ -5,10 +5,10 @@ class RedisCollection def initialize(redis, namespace: '', load: -> string { Marshal.load(string) }, dump: -> object { Marshal.dump(object) }, - make_key: -> object { object['id'] } + make_key: -> object { object[:id] } ) @redis = redis @namespace = namespace @load_proc = load