nesquena/rabl — pull request #261 by shingara (2012-06-05 10:06:10+00:00)
Title: Add option to define his own cache_engine

Previously, you can cache your view render by rabl only by Rails.cache.
Now you can define you own cache_engine in Rabl::Configuration.

The Engine you can define is mandatory a class to define the #fetch
method.

By default a cache_engine exist in Rabl : Rabl::CacheEngine to see what
args take the fetch method. This method need return the result.

It's usefull to have the cache system outside of rails and you can use a specific cache_store like by example :

````ruby
Rabl.configure do |config|
config.cache_engine = ActiveSupport::Cache.lookup_store :redis_store
end
```