Skip to content

Instantly share code, notes, and snippets.

@mattmanning
Created August 19, 2011 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmanning/1157686 to your computer and use it in GitHub Desktop.
Save mattmanning/1157686 to your computer and use it in GitHub Desktop.
Should see something like this:
>> Rails.cache
=> #<ActiveSupport::Cache::DalliStore:0x7f43ecf2e900 @data=#<Dalli::Client:0x7f43ece7be90 @ring=nil, @options={:expires_in=>0}, @servers=["mc5.ec2.northscale.net"]>, @middleware=ActiveSupport::Cache::Strategy::LocalCache, @thread_local_key=:active_support_cache_dalli_store_local_cache_69964857439360, @options={}>
Seeing this:
>> Rails.cache
=> <#ActiveSupport::Cache::MemoryStore entries=2, size=8, options={}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment