mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 13:36:31 +08:00
![Robin Ward](/assets/img/avatar_default.png)
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.
6 lines
61 B
Ruby
6 lines
61 B
Ruby
class UserStat < ActiveRecord::Base
|
|
|
|
belongs_to :user
|
|
|
|
end
|