Sha256: 0fa8779d3eb2e30e2526ce9230df832491fcb79f360dbc4400b9697ce3008844
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
= MongoidStore ActiveSupport Mongoid 3 Cache store, strongly based on the 'mongoid_store' gem by Andre Meij == Supports * Mongoid 3+ * Ruby 1.9.2+ * ActiveSupport 3+ == Installation and Usage gem install mongoid-store require 'mongoid-store' store = ActiveSupport::Cache::MongoidStore.new store.write('abc', 123) pp store.read('abc') pp store.read('def') pp store.fetch('def'){ 456 } pp store.read('def') Using MongoidStore with rails is as easy as: config.cache_store = :mongoid_store
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid-store-0.4.4 | README.rdoc |
mongoid-store-0.4.3 | README.rdoc |