README.md in geocoder-1.7.2 vs README.md in geocoder-1.7.3

- old
+ new

@@ -348,13 +348,19 @@ * `store#del(url)` - deletes a value * `store#keys` - (Optional) Returns array of keys. Used if you wish to expire the entire cache (see below). Even a plain Ruby hash will work, though it's not a great choice (cleared out when app is restarted, not shared between app instances, etc). +When using Rails use the Generic cache store as an adapter around `Rails.cache`: + +```ruby +Geocoder.configure(cache: Geocoder::CacheStore::Generic.new(Rails.cache, {})) +``` + You can also set a custom prefix to be used for cache keys: ```ruby -Geocoder.configure(cache_prefix: "...") +Geocoder.configure(cache_options: { prefix: "..." }) ``` By default the prefix is `geocoder:` If you need to expire cached content: