1. 23 5月, 2015 1 次提交
  2. 08 4月, 2015 1 次提交
  3. 12 3月, 2015 1 次提交
  4. 03 3月, 2015 1 次提交
  5. 02 3月, 2015 1 次提交
  6. 21 2月, 2015 1 次提交
    • K
      Instrument read_multi. · ca6aba7f
      Kasper Timm Hansen 提交于
      Adds `read_multi` instrumentation formatted as:
      
      Caches multi read:
      - views/david/2/4184ab71db6849621a4d8820fcd2c0ad
      - views/david/2/4184ab71db6849621a4d8820fcd2c0ad
      - views/david/3/4184ab71db6849621a4d8820fcd2c0ad
      - views/david/3/4184ab71db6849621a4d8820fcd2c0ad
      ca6aba7f
  7. 02 1月, 2015 2 次提交
  8. 26 8月, 2014 1 次提交
  9. 22 6月, 2014 1 次提交
  10. 11 6月, 2014 1 次提交
  11. 05 3月, 2014 1 次提交
    • G
      Revert "Merge pull request #14269 from arthurnn/expanded_key_array" · ccf8f27d
      Godfrey Chan 提交于
      This reverts commit 475c9658, reversing
      changes made to 705915ab.
      
      We decided that this is not worth busting everyone's cache as this
      seems like a very unlikely problem. The problem only occurs when the
      user is 1) not using a namespace, or 2) using the same namesapce for
      different *kinds* of cache items. The recommended "fix" is to put
      those cache items into their own namspace:
      
          id = 1
          Rails.cache.fetch(id, namespace: "user"){ User.find(id) }
      
          ids = [1]
          Rails.cache.fetch(ids, namespace: "users"){ User.find(ids) }
      
      See the discussion on #14269 for details.
      ccf8f27d
  12. 04 3月, 2014 1 次提交
  13. 27 2月, 2014 1 次提交
    • P
      Return a hash rather than array from fetch_multi · c046e609
      Parker Selbert 提交于
      The current implementation of `fetch_multi` returns an array and has no
      means to easily backtrack which names yielded which results. By changing
      the return value to a Hash we retain the name information. Hash#values
      can be used on the response if only the values are needed.
      c046e609
  14. 09 1月, 2014 1 次提交
  15. 04 1月, 2014 2 次提交
    • A
      Raise if MemCacheStore doenst receive a Dalli obj · e7f56a7f
      Arthur Neves 提交于
      :mem_cache_store should receive a list of hosts or a dalli client,
      otherwise raise it.
      Also adding a changelog.
      e7f56a7f
    • A
      mem_cache_store requires dalli, so only accept dalli/client · 98458eea
      Arthur Neves 提交于
      :mem_cache_store require dalli, rescue Dalli exceptions, and follow Dalli API.
      Memcached gem, for instance, doesnt work anymore, as the API are different.
      
      As we already require one client, we should make sure that client works, and not accept others, and if someone wants to use another memcache client they can write their own store adapter.
      98458eea
  16. 11 9月, 2013 1 次提交
  17. 30 8月, 2013 1 次提交
  18. 22 7月, 2013 1 次提交
  19. 08 7月, 2013 1 次提交
  20. 06 5月, 2013 1 次提交
  21. 17 4月, 2013 1 次提交
  22. 10 4月, 2013 1 次提交
  23. 12 3月, 2013 1 次提交
  24. 26 2月, 2013 1 次提交
    • C
      Fix deletion of empty directories: · b8837066
      Charles Jones 提交于
      1. When comparing the directory to delete against the top level
         cache_path, use File.realpath to make sure we aren't comparing two
         unequal strings that point to the same path. This occurs, for
         example, when cache_path has a trailing slash, which it does in the
         default Rails configuration. Since the input to
         delete_empty_directories never has a trailing slash, the comparison
         will never be true and the top level cache directory (and above) may
         be deleted. However…
      
      2. File.delete raises EPERM when trying to delete a directory, so no
         directories have ever been deleted. Changing the code to Dir.delete
         fixes that.
      b8837066
  25. 06 1月, 2013 1 次提交
  26. 01 12月, 2012 1 次提交
  27. 24 10月, 2012 1 次提交
  28. 23 10月, 2012 1 次提交
  29. 12 10月, 2012 1 次提交
  30. 01 10月, 2012 5 次提交
  31. 23 8月, 2012 1 次提交
  32. 18 8月, 2012 2 次提交
  33. 10 5月, 2012 1 次提交