# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
# =============================================================================
# INITIALIZE
# =============================================================================
include PublicAttributes
primary_abstract_class
# =============================================================================
# DATA STRUCTURE
# =============================================================================
# =============================================================================
# ASSOCIATIONS
# =============================================================================
# =============================================================================
# VALIDATIONS
# =============================================================================
# =============================================================================
# CALLBACKS
# =============================================================================
# =============================================================================
# SCOPES
# =============================================================================
# =============================================================================
# CLASS METHODS
# =============================================================================
# =============================================================================
# INSTANCE METHODS
# =============================================================================
def dom_id
"#{self.class.table_name.singularize}-#{public_id}"
end
def to_param
public_id
end
end