Show More
Commit Description:
disabled unused actions from controllers, protected statuses display, more styling
Commit Description:
disabled unused actions from controllers, protected statuses display, more styling
File last commit:
Show/Diff file:
Action:
app/models/test_pair_assignment.rb | 11 lines | 218 B | text/x-ruby | RubyLexer |
class TestPairAssignment < ActiveRecord::Base
belongs_to :user
belongs_to :test_pair
belongs_to :problem
def expired?
return created_at + TEST_ASSIGNMENT_EXPIRATION_DURATION < Time.new.gmtime
end
end