Show More
Commit Description:
started grader_process...
Commit Description:
started grader_process
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@54 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/models/grader_process.rb
| 17 lines
| 425 B
| text/x-ruby
| RubyLexer
|
|
r29 | class GraderProcess < ActiveRecord::Base | ||
def self.find_by_ip_and_pid(ip,pid) | ||||
return GraderProcess.find(:first, | ||||
:conditions => { | ||||
:ip => ip, | ||||
:pid => pid | ||||
}) | ||||
end | ||||
def self.report_active(ip,pid,mode) | ||||
end | ||||
def self.report_inactive(ip,pid,mode) | ||||
end | ||||
end | ||||