polyglot/app/models/chat_room.rb

6 lines
151 B
Ruby
Raw Permalink Normal View History

2018-08-29 12:44:10 +00:00
class ChatRoom < ApplicationRecord
has_many :chat_room_participations
has_many :users, through: :chat_room_participations
2018-08-29 12:44:10 +00:00
has_many :requests
end