Sha256: f7b33d4f4426595e3af1381795750db0cbcf0f5c7342b4b7969e6fa46cbe8f36

Contents?: true

Size: 296 Bytes

Versions: 48

Compression:

Stored size: 296 Bytes

Contents

require_relative './access_group'

module Incline
  class ActionGroup < ActiveRecord::Base
    belongs_to :action_security
    belongs_to :access_group

    validates :action_security, presence: true
    validates :access_group, presence: true, uniqueness: { scope: :action_security }

  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
incline-0.3.14 app/models/incline/action_group.rb
incline-0.3.13 app/models/incline/action_group.rb
incline-0.3.12 app/models/incline/action_group.rb
incline-0.3.11 app/models/incline/action_group.rb
incline-0.3.10 app/models/incline/action_group.rb
incline-0.3.9 app/models/incline/action_group.rb
incline-0.3.8 app/models/incline/action_group.rb
incline-0.3.7 app/models/incline/action_group.rb
incline-0.3.6 app/models/incline/action_group.rb
incline-0.3.5 app/models/incline/action_group.rb
incline-0.3.4 app/models/incline/action_group.rb
incline-0.3.3 app/models/incline/action_group.rb
incline-0.3.2 app/models/incline/action_group.rb
incline-0.3.1 app/models/incline/action_group.rb
incline-0.3.0 app/models/incline/action_group.rb
incline-0.2.36 app/models/incline/action_group.rb
incline-0.2.35 app/models/incline/action_group.rb
incline-0.2.34 app/models/incline/action_group.rb
incline-0.2.28 app/models/incline/action_group.rb
incline-0.2.27 app/models/incline/action_group.rb