rails_admin

https://github.com/railsadminteam/rails_admin

Ruby

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

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.

Source | Google | Stack overflow

Edit

git clone [email protected]:railsadminteam/rails_admin.git

cd rails_admin

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-CohortsService-counts_by_month-for-pr


# Commit to git

git add git commit -m "better docs for CohortsService#counts_by_month"


# Open pull request

gem 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!