classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
RosterEntry.order_for_view
Orders the relation for display in a view. Ordering is: first: Accepted the assignment second: Linked but not accepted last: Unlinked student with a secondary sort on ID to ensure ties are always handled in the same way
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/roster_entry.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RosterEntry-order_for_view-for-pr
# Commit to gitgit add app/models/roster_entry.rbgit commit -m "better docs for RosterEntry.order_for_view"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RosterEntry-order_for_view-for-pr
hub pull-request
# Celebrate!