Sha256: 115df2319a3ecb6dd046e147f7e1e9e9f1243d417a43acfe4156799f803de315
Contents?: true
Size: 795 Bytes
Versions: 3
Compression:
Stored size: 795 Bytes
Contents
module Authz class BusinessProcessHasControllerAction < ApplicationRecord # Associations # ========================================================================== belongs_to :controller_action, class_name: 'Authz::ControllerAction', foreign_key: 'authz_controller_action_id', optional: true belongs_to :business_process, class_name: 'Authz::BusinessProcess', foreign_key: 'authz_business_process_id', optional: true # Validations # =========================================================================== validates :authz_controller_action_id, uniqueness: { scope: [:authz_business_process_id] } end end
Version data entries
3 entries across 3 versions & 1 rubygems