dev.to

https://github.com/thepracticaldev/dev.to

Ruby

Where programmers share ideas and help each other grow

AnalyticsService#cached_data_for_date

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:thepracticaldev/dev.to.git
$ cd dev.to
$ open app/services/analytics_service.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-AnalyticsService-cached_data_for_date-for-pr

# Commit to git
$ git add app/services/analytics_service.rb
$ git commit -m "better docs for AnalyticsService#cached_data_for_date"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-AnalyticsService-cached_data_for_date-for-pr
$ hub pull-request

# Celebrate!