lib/active_support/cache/ehcache_store.rb in jruby-ehcache-rails2-1.0.0 vs lib/active_support/cache/ehcache_store.rb in jruby-ehcache-rails2-1.1.0

- old
+ new

@@ -9,11 +9,12 @@ include Ehcache::Rails def initialize(*args) args = args.flatten options = args.extract_options! - super(*options) - @ehcache = self.create_cache # This comes from the Ehcache::Rails mixin. + super(options) + self.create_cache_manager(options) + @ehcache = self.create_cache(options) # This comes from the Ehcache::Rails mixin. extend Strategy::LocalCache end def increment(name, amount = 1, options = nil) # :nodoc: @ehcache.compare_and_swap(name) { |current_value|