Sha256: 68dd02c3d260a3f0fe3cc2d94aee9d610af969932093fb47693fe64d0e7ab107
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
module Authz class BusinessProcessHasControllerAction < ApplicationRecord # Associations # ========================================================================== belongs_to :controller_action, class_name: 'Authz::ControllerAction', foreign_key: 'authz_controller_action_id' belongs_to :business_process, class_name: 'Authz::BusinessProcess', foreign_key: 'authz_business_process_id' # Validations # =========================================================================== validates :authz_controller_action_id, uniqueness: { scope: [:authz_business_process_id] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authz-0.0.1.alpha | app/models/authz/business_process_has_controller_action.rb |