# This is mostly to group events around a region class Region < ApplicationRecord belongs_to :region has_many :regions, dependent: :nullify has_many :orgas, dependent: :destroy default_scope { order :name } def to_s name end end