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.

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open app/controllers/surveys_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SurveysController-filter_inapplicable_question_groups-for-pr


# Commit to git

git add app/controllers/surveys_controller.rbgit commit -m "better docs for SurveysController#filter_inapplicable_question_groups"


# Open pull request

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