Skip to content

Conversation

@tmazeika
Copy link
Contributor

No description provided.

t.string :student_feedback, null: true
t.float :points, null: false
t.integer :order, null: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My IDE insisted...

@blerner
Copy link
Contributor

blerner commented Sep 16, 2020

This doesn't seem like the right way to handle this: it allows the database to represent messages that are urgent, rather than deducing whether they're urgent and just rendering the urgency in the view. I think a better approach would be to have a connection between the set of anomalies (so we know who's currently locked out) and the ShowQuestions component, so it can add an urgency flag to any question whose student is currently locked out. But this is a view-only thing, not a model-level thing...

@tmazeika tmazeika marked this pull request as draft September 16, 2020 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants