gab-social/app/models/application_record.rb

11 lines
202 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
connects_to database: {
writing: :master,
reading: :slave1
}
2019-07-02 08:10:25 +01:00
self.abstract_class = true
include Remotable
end