mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 02:20:41 +08:00
30990006a9
This reduces chances of errors where consumers of strings mutate inputs and reduces memory usage of the app. Test suite passes now, but there may be some stuff left, so we will run a few sites on a branch prior to merging
18 lines
358 B
Ruby
18 lines
358 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InvitedGroup < ActiveRecord::Base
|
|
belongs_to :group
|
|
belongs_to :invite
|
|
end
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: invited_groups
|
|
#
|
|
# id :integer not null, primary key
|
|
# group_id :integer
|
|
# invite_id :integer
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|