dynamoid
https://github.com/veraticus/dynamoid
Ruby ORM for Amazon's DynamoDB
CohortsService#counts_by_month
Get a hash that looks like:
{
[created_at_month, last_activity_on_month] => count,
[created_at_month, last_activity_on_month_2] => count_2,
# etc.
}
created_at_month can never be nil, but last_activity_on_month can (when a
user has never logged in, just been created). This covers the last
MONTHS_INCLUDED months.Edit
git clone [email protected]:veraticus/dynamoid.git
cd dynamoid
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-CohortsService-counts_by_month-for-pr
# Commit to gitgit add git commit -m "better docs for CohortsService#counts_by_month"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-CohortsService-counts_by_month-for-pr
hub pull-request
# Celebrate!