wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
SurveysController#filter_inapplicable_question_groups
This removes the question groups that do not apply to the course, because of the 'tags' parameter that makes the question group apply only to courses with (all) those tags, or to courses in all the specified campaigns.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open app/controllers/surveys_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SurveysController-filter_inapplicable_question_groups-for-pr
# Commit to gitgit add app/controllers/surveys_controller.rbgit commit -m "better docs for SurveysController#filter_inapplicable_question_groups"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SurveysController-filter_inapplicable_question_groups-for-pr
hub pull-request
# Celebrate!