You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stonefilipczak / @stepchud In order to align evaluation period to the challenge end date, and make the dates less confusing the challenge manager, we eliminated publication date for the evaluation forms. This makes the form editable up until the challenge ends, and not needing to set the evaluation form status. So two of the attributes (status and publication_date) detailed in this card are not needed.
Description
This model will store the forms that challenge managers create, edit and publish for evaluation of their challenges.
Attributes
add_index(:evaluation_forms, [:challenge_id, :challenge_phase], unique: true)
Validations
title, instruction, challenge_id, challenge_phase are required.
The <challenge_id, challenge_phase> pairing is unique.
Tests
Add a factory helper for conveniently creating models in specs. Add specs for creating, updating, destroying, validating.
Out of Scope
The EvaluationForm class
has_many :evaluation_form_criteria
, however that will be added in another task.The text was updated successfully, but these errors were encountered: