wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

UsersController#set_real_name

Users may have their real name set, if they went through /onboarding.
However, these real names are not public information; they are used primarily
so that people in a class together can see both names and usernames.
This method sets the real name that is associated with the CoursesUsers
enrollment record, but only if the adding user is allowed to know it.

Source | Google | Stack overflow

Edit

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

cd wikiedudashboard

open app/controllers/users_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-UsersController-set_real_name-for-pr


# Commit to git

git add app/controllers/users_controller.rbgit commit -m "better docs for UsersController#set_real_name"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-UsersController-set_real_name-for-pr

hub pull-request


# Celebrate!