Sha256: 168224945515f3297b5ca03849f12e3ba2832d364abbc00bd11f4f6e295846a2

Contents?: true

Size: 130 Bytes

Versions: 86

Compression:

Stored size: 130 Bytes

Contents

class Role < ActiveRecord::Base
  extend FriendlyId
  friendly_id :name

  def self.default_role
    Role.find('Guest')
  end
end

Version data entries

86 entries across 86 versions & 5 rubygems

Version Path
enju_event-0.0.5 spec/dummy/app/models/role.rb
enju_question-0.0.4 spec/dummy/app/models/role.rb
enju_event-0.0.4 spec/dummy/app/models/role.rb
enju_event-0.0.3 spec/dummy/app/models/role.rb
enju_question-0.0.3 spec/dummy/app/models/role.rb
enju_subject-0.0.4 spec/dummy/app/models/role.rb