gab-social/app/models/application_record.rb

11 lines
203 B
Ruby

# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
connects_to database: {
writing: :primary,
reading: :slave1
}
self.abstract_class = true
include Remotable
end