Class: Chats::ApplicationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/chats/models/application_record.rb

Overview

Abstract base for every chats model. Kept separate from the host’s ApplicationRecord on purpose: the gem’s models must not inherit host callbacks/scopes, and the host must be able to swap its own base class without touching ours.

Direct Known Subclasses

Conversation, Message, Participant, Reaction