Show More
Commit Description:
update heartbeat...
Commit Description:
update heartbeat add try-to-login-from-other-ip loggin (by printing to stdout)
References:
File last commit:
Show/Diff file:
Action:
app/models/user_contest_stat.rb | 10 lines | 137 B | text/x-ruby | RubyLexer |
class UserContestStat < ActiveRecord::Base
belongs_to :user
def reset_timer_and_save
self.started_at = nil
save
end
end