Show More
Commit Description:
keep all heartbeat instead of only the latest one...
Commit Description:
keep all heartbeat instead of only the latest one (grafted from 0bdf62fde5fdb94d6f94c2b8b8ebc58ffbe8d2f9)
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