Wednesday, July 15, 2026 1:09:40 AM
> project show esm_bot
A sophisticated Discord bot that bridges Arma 3 Exile servers with Discord communities. Built in Ruby with secure TCP communication, it delivers territory management, real-time notifications, and comprehensive server administration right in your Discord channels.
Details
> 01_database.rb
# frozen_string_literal: true

#
# Establishes the ActiveRecord connection.
#
# Must run before Zeitwerk eager-loads anything: AR models touch the schema
# (`establish_connection`, column lookups, association reflection) at class
# definition time, so the connection has to exist by then.
#

require ESM.root.join("lib", "esm", "database.rb")

ESM::Database.connect!
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7