Permalink
Browse files

fix for expiring records

  • Loading branch information...
actsasflinn committed Dec 30, 2008
1 parent 13300ac commit 4e7dc5029d35ca07a4c613966519e0bf0e03d794
Showing with 1 addition and 0 deletions.
  1. +1 −0 vendor/plugins/cacheable/lib/cacheable.rb
@@ -174,5 +174,6 @@ def after_find
# Reset cache for all records after save, warning!
def after_save
self.cache_record(:force => true) unless self.class.cache_records
+ self.expire_record
end
end

0 comments on commit 4e7dc50

Please sign in to comment.