lib/toy.rb in toystore-0.6.6 vs lib/toy.rb in toystore-0.7.0
- old
+ new
@@ -36,10 +36,9 @@
# to make sure they are loaded in order to clear them or ToyStore will
# not be aware of their existence.
def clear
models.each do |model|
model.store.clear if model.has_store?
- model.cache.clear if model.has_cache?
model.identity_map.clear if model.identity_map_on?
end
end
module Middleware