A block result caching library.
Either include to your Gemfile
or install it.
# Bash $ gem install retriever # Gemfile gem 'retriever'
Create file config/initializer/retriever.rb
with your configuration.
Retriever.config.storage(:memory) Retreiver.catch! do target :bone do |parameters| ... end end
def index @bone = Retriever.fetch(:bone) end
Copyright © 2011 Nelvin Driz.
Retriever is free software released under the MIT license.