Show More
Commit Description:
update syntax of form_for to rails 3.2.8...
Commit Description:
update syntax of form_for to rails 3.2.8 (grafted from 17d48b004affe1e1dd4a981d9beef9d61ce83078)
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