Permalink
Browse files

TTL should be an integer

  • Loading branch information...
1 parent 8335aea commit bd1490848d5a19b62c02bbdb1c7220de0d132243 @ashleym1972 ashleym1972 committed Jul 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cash/write_through.rb
@@ -1,6 +1,6 @@
module Cash
module WriteThrough
- DEFAULT_TTL = 12.hours
+ DEFAULT_TTL = 12.hours.to_i
def self.included(active_record_class)
active_record_class.class_eval do

0 comments on commit bd14908

Please sign in to comment.