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.2.26 app/models/incline/action_group.rb
incline-0.2.25 app/models/incline/action_group.rb
incline-0.2.24 app/models/incline/action_group.rb
incline-0.2.23 app/models/incline/action_group.rb
incline-0.2.22 app/models/incline/action_group.rb
incline-0.2.21 app/models/incline/action_group.rb
incline-0.2.20 app/models/incline/action_group.rb
incline-0.2.19 app/models/incline/action_group.rb
incline-0.2.18 app/models/incline/action_group.rb
incline-0.2.17 app/models/incline/action_group.rb
incline-0.2.16 app/models/incline/action_group.rb
incline-0.2.15 app/models/incline/action_group.rb
incline-0.2.14 app/models/incline/action_group.rb
incline-0.2.13 app/models/incline/action_group.rb
incline-0.2.12 app/models/incline/action_group.rb
incline-0.2.11 app/models/incline/action_group.rb
incline-0.2.10 app/models/incline/action_group.rb
incline-0.2.9 app/models/incline/action_group.rb
incline-0.2.8 app/models/incline/action_group.rb
incline-0.2.7 app/models/incline/action_group.rb