# frozen_string_literal: true class Location < ApplicationRecord # == Constants ============================================================ # == Attributes =========================================================== # == Extensions =========================================================== # == Relationships ======================================================== has_and_belongs_to_many :dotations # == Validations ========================================================== # == Scopes =============================================================== scope :by_ids, ->(val) { where(id: val) } # == Callbacks ============================================================ # == Class Methods ======================================================== # == Instance Methods ===================================================== end