exercism.io
https://github.com/exercism/exercism.io
Ruby
Quickly ramp up in new programming languages.
ActivityStream#query_exercises
This becomes unbearably slow if we do a left join on views to get the unread value up front. If performance is still a problem, remove the join on user and do a separate lookup for that as well. rubocop:disable Metrics/AbcSize, Metrics/MethodLength
Edit
git clone [email protected]:exercism/exercism.io.git
cd exercism.io
open lib/exercism/activity_stream.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActivityStream-query_exercises-for-pr
# Commit to gitgit add lib/exercism/activity_stream.rbgit commit -m "better docs for ActivityStream#query_exercises"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActivityStream-query_exercises-for-pr
hub pull-request
# Celebrate!