class BaclightRecord < ActiveRecord::Base self.abstract_class = true connects_to database: { writing: :baclight, reading: :baclight } end