Skip to content

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
upsaurav12 committed Feb 10, 2024
1 parent c0d59fd commit 377a62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/assignment.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class Assignment < ApplicationRecord
validates :name, length: { minimum: 1 }, presence:true
validates :name, length: { minimum: 1 }, presence: true
validates :grading_scale, inclusion: {
in: %w[percent],
message: "needs to be fixed at 1-100 for passing the grade back to LMS"
Expand Down

0 comments on commit 377a62c

Please sign in to comment.