UM-USElab / GradeCraft

GradeCraft is a gamified gradebook, intended to help motivate students to be more engaged in their own learning.
GNU Affero General Public License v3.0
9 stars 6 forks source link

Release grades method #24

Closed chcholman closed 12 years ago

allspiritseve commented 12 years ago

What is this?

chcholman commented 12 years ago

Assignment grades (one offs) need a state field that reflects whether they've been graded (which allows the teaching staff to do all their marking, review, compare, etc.) but not yet shown to students, and then the ability to release those grades as a batch.

allspiritseve commented 12 years ago

As we discussed, add a released/graded field to Grade and add a default scope so that whenever you are querying for grades, you always return released grades. To get unreleased grades, do something like this:

Grade.where(:released => false)

Or even add a scope :unreleased that does the same where query.