Sha256: ead98f690b8098662b9ed4e4a03e2c11177aa312faa8d4ef5fbf2fb324ecdfdc

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

class Adeia::Group < ActiveRecord::Base
  has_many :group_users, dependent: :destroy
  has_many :permissions, as: :owner

  validates :name, presence: true

  def self.human_name
    model_name.i18n_key
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adeia-0.4.0 app/models/adeia/group.rb