module Sis module Core class ApplicationModule < ApplicationRecord has_and_belongs_to_many :users validates :code, :name, presence: true end end end