lib/cachetastic/adapters/redis.rb in cachetastic-3.5.3 vs lib/cachetastic/adapters/redis.rb in cachetastic-3.6.0
- old
+ new
@@ -24,10 +24,10 @@
def get(key) # :nodoc:
connection.get(transform_key(key))
end # get
def set(key, value, expiry_time = configatron.cachetastic.defaults.default_expiry) # :nodoc:
- connection.setex(transform_key(key), expiry_time, marshal(value))
+ connection.setex(transform_key(key), expiry_time, value)
return value
end # set
def delete(key) # :nodoc:
connection.del(transform_key(key))
\ No newline at end of file