wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

Course#order_weeks

Ensures weeks for a course have order 1..weeks.count
This is dangerous if creating or reordering timeline content except via
TimelineController, where every week is processed from the submitted params,
and blocks get resorted to the appropriate week if necessary.
Weeks are expected to have the same order as their ids.

Source | Google | Stack overflow

Edit

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

cd wikiedudashboard

open app/models/course.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Course-order_weeks-for-pr


# Commit to git

git add app/models/course.rbgit commit -m "better docs for Course#order_weeks"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Course-order_weeks-for-pr

hub pull-request


# Celebrate!