work in progress, live unread / new counters

This commit is contained in:
Sam
2013-05-24 20:58:26 +10:00
parent 52eeecd460
commit 33ff87bf44
6 changed files with 31 additions and 4 deletions

View File

@ -576,6 +576,10 @@ class User < ActiveRecord::Base
end
end
def user_tracking_states
UserTrackingState.report([self.id])
end
protected
def cook