Barrel - Simple Key Value Store

I made a really simple gem called Barrel. You can use Barrel with Rails to store things. It will keep them and give them back later. Especially good for long running calculations.

Installation

Add this line to your application’s Gemfile:

gem 'barrel'

And then execute:

$ bundle
$ rails generate barrel:install

Usage

Barrel is so simple:

Barrel.store 'Total Monkeys', '42'
Barrel.find 'Total Monkeys'
# => '42'