Show More
Commit Description:
checks solution by lines
Commit Description:
checks solution by lines
File last commit:
Show/Diff file:
Action:
app/models/test_pair.rb | 8 lines | 221 B | text/x-ruby | RubyLexer |
class TestPair < ActiveRecord::Base
belongs_to :problem
def self.get_for(problem, is_private)
return TestPair.where(:problem_id => problem.id,
:is_private => is_private).first
end
end