dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

Repository.cache_method

Wraps around the given method and caches its output in Redis and an instance
variable.

This only works for methods that do not take any arguments.

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Repository-cache_method-for-pr


# Commit to git

git add git commit -m "better docs for Repository.cache_method"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Repository-cache_method-for-pr

hub pull-request


# Celebrate!