diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-09-02 13:08:06 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2012-09-17 15:54:23 -0400 |
commit | 2c38567646791f223b4e48550fba0e0386a05d96 (patch) | |
tree | c9a218e052d5c59aebce5c6a29d436953bc57a1c /guides/source/caching_with_rails.md | |
parent | 9873dd800b77105fe17f583f0d036240ef334826 (diff) | |
download | rails-2c38567646791f223b4e48550fba0e0386a05d96.tar.gz rails-2c38567646791f223b4e48550fba0e0386a05d96.tar.bz2 rails-2c38567646791f223b4e48550fba0e0386a05d96.zip |
Convert all tables to Markdown syntax
Diffstat (limited to 'guides/source/caching_with_rails.md')
-rw-r--r-- | guides/source/caching_with_rails.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md index 4d385a12ab..759562bc10 100644 --- a/guides/source/caching_with_rails.md +++ b/guides/source/caching_with_rails.md @@ -380,12 +380,13 @@ When initializing the cache, you may use the `:ehcache_config` option to specify In addition to the standard `:expires_in` option, the `write` method on this cache can also accept the additional `:unless_exist` option, which will cause the cache store to use Ehcache's `putIfAbsent` method instead of `put`, and therefore will not overwrite an existing entry. Additionally, the `write` method supports all of the properties exposed by the [Ehcache Element class](http://ehcache.org/apidocs/net/sf/ehcache/Element.html) , including: -|_. Property |_. Argument Type |_. Description | -| elementEvictionData | ElementEvictionData | Sets this element's eviction data instance. | -| eternal | boolean | Sets whether the element is eternal. | -| timeToIdle, tti | int | Sets time to idle | -| timeToLive, ttl, expires_in | int | Sets time to Live | -| version | long | Sets the version attribute of the ElementAttributes object. | +| Property | Argument Type | Description | +| --------------------------- | ------------------- | ----------------------------------------------------------- | +| elementEvictionData | ElementEvictionData | Sets this element's eviction data instance. | +| eternal | boolean | Sets whether the element is eternal. | +| timeToIdle, tti | int | Sets time to idle | +| timeToLive, ttl, expires_in | int | Sets time to Live | +| version | long | Sets the version attribute of the ElementAttributes object. | These options are passed to the `write` method as Hash options using either camelCase or underscore notation, as in the following examples: |