Show More
Commit Description:
added codejom controller, show status in public
Commit Description:
added codejom controller, show status in public
File last commit:
Show/Diff file:
Action:
app/models/test_pair_assignment.rb | 11 lines | 218 B | text/x-ruby | RubyLexer |
Jittat Fakcharoenphol
added test pair assignment, requests new input, downloads input
r213 class TestPairAssignment < ActiveRecord::Base
Jittat Fakcharoenphol
added test assignment time out
r222
Jittat Fakcharoenphol
added test pair assignment, requests new input, downloads input
r213 belongs_to :user
belongs_to :test_pair
belongs_to :problem
Jittat Fakcharoenphol
added test assignment time out
r222
def expired?
return created_at + TEST_ASSIGNMENT_EXPIRATION_DURATION < Time.new.gmtime
end
Jittat Fakcharoenphol
added test pair assignment, requests new input, downloads input
r213 end