large refactor, ship a few columns from the user table into user_stats

This commit is contained in:
Sam
2013-10-04 13:28:49 +10:00
parent 4613006ae3
commit 5bf26ec34e
29 changed files with 354 additions and 251 deletions

View File

@@ -61,7 +61,7 @@ class PostTiming < ActiveRecord::Base
def self.process_timings(current_user, topic_id, topic_time, timings)
current_user.update_time_read!
current_user.user_stat.update_time_read!
highest_seen = 1
timings.each do |post_number, time|