Class: PeerEvaluationReview
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PeerEvaluationReview
- Defined in:
- app/models/peer_evaluation_review.rb
Overview
Peer Evaluations are done by student teams at the request of a faculty member. Usually, the faculty member will setup the peer evaluation and will need to know the following information
-
Start date - when to email the student team about the evaluation. Teams can start before this
-
End date - when to email the student team Teams can end after this provided the faculty hasn’t created the report.
-
Learning Ojbectives for each team member (optional)
Related classes
Peer Evaluation Learning Objective
Assumptions
-
The peer evaluation for a team is always ready, theoretically a team could start one on their own
-
A team would not need to do a peer evaluation twice. If they had to, a system admin would clean out the data or alter the foreign keys to appear as if a peer evaluation had not been done for that team
Security
-
Students should not be able to see the peer evaluations for other students
-
Any faculty can see the peer evaluation for a team
This component was originally written by Russel Reed (Class of 2010) and integrated by Todd Sedano. Student teams can provide 360 review feedback when prompted by the faculty.
Class Method Summary collapse
Class Method Details
.is_completed_for?(user_id, team_id) ⇒ Boolean
36 37 38 |
# File 'app/models/peer_evaluation_review.rb', line 36 def self.is_completed_for?(user_id, team_id) !PeerEvaluationReview.where({:team_id => team_id, :author_id => user_id}).empty? end |