Show More
Commit Description:
fix logins user_id from string to integer
Commit Description:
fix logins user_id from string to integer
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