mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 00:25:23 +08:00
5 lines
109 B
Ruby
5 lines
109 B
Ruby
class GroupUser < ActiveRecord::Base
|
|
belongs_to :group, counter_cache: "user_count"
|
|
belongs_to :user
|
|
end
|