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_message-0.1.14.pre9 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre8 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre7 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre6 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre5 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre4 spec/dummy/app/models/role.rb
enju_trunk_message-0.1.14.pre3 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre3 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre2 spec/dummy/app/models/role.rb
enju_message-0.1.14.pre spec/dummy/app/models/role.rb
enju_message-0.1.13 spec/dummy/app/models/role.rb
enju_message-0.1.12 spec/dummy/app/models/role.rb
enju_message-0.1.11 spec/dummy/app/models/role.rb
enju_message-0.0.25 spec/dummy/app/models/role.rb
enju_message-0.1.9 spec/dummy/app/models/role.rb
enju_message-0.0.24 spec/dummy/app/models/role.rb
enju_message-0.1.8 spec/dummy/app/models/role.rb
enju_event-0.0.24 spec/dummy/app/models/role.rb
enju_event-0.0.23 spec/dummy/app/models/role.rb
enju_event-0.1.10 spec/dummy/app/models/role.rb