lib/active_support/cache.rb in activesupport-4.1.9.rc1 vs lib/active_support/cache.rb in activesupport-4.1.9

- old
+ new

@@ -622,10 +622,10 @@ end # Check if the entry is expired. The +expires_in+ parameter can override # the value set when the entry was created. def expired? - convert_version_4beta1_entry! if defined?(@value) + convert_version_4beta1_entry! if defined?(@v) @expires_in && @created_at + @expires_in <= Time.now.to_f end def expires_at @expires_in ? @created_at + @expires_in : nil