From 2c38567646791f223b4e48550fba0e0386a05d96 Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Sun, 2 Sep 2012 13:08:06 -0400 Subject: Convert all tables to Markdown syntax --- guides/source/caching_with_rails.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'guides/source/caching_with_rails.md') 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: -- cgit v1.2.3