Daily Rubocop
This commit is contained in:
@ -63,7 +63,7 @@ class RemoteEvaluationController < ApplicationController
|
||||
score_submission(@submission)
|
||||
else
|
||||
# TODO: better output
|
||||
# todo: check token expired?
|
||||
# TODO: check token expired?
|
||||
{message: 'No exercise found for this validation_token! Please keep out!', status: 401}
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,6 @@
|
||||
# todo: reference to lti_param_model
|
||||
# frozen_string_literal: true
|
||||
|
||||
# TODO: reference to lti_param_model
|
||||
class RemoteEvaluationMapping < ApplicationRecord
|
||||
before_create :generate_token, unless: :validation_token?
|
||||
belongs_to :exercise
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class User < ApplicationRecord
|
||||
self.abstract_class = true
|
||||
|
||||
|
Reference in New Issue
Block a user