Show More
Commit Description:
- clean up link to problem stat and user stat...
Commit Description:
- clean up link to problem stat and user stat (grafted from 45d1e12e9794a23a5431222fe2f4c7461d73a529)
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