discourse/app/models/user_stat.rb
Robin Ward fcff4e80d1 New user_stats table to keep track of queried information on a user.
This is information that is not usually needed when representing a user
and is in a separate table with a has one relationship to avoid querying
it all the time.
2013-09-11 14:50:26 -04:00

5 lines
61 B
Ruby

class UserStat < ActiveRecord::Base
belongs_to :user
end