Sha256: df5efe576daabebcdf5eaf5199e8033efc3cffdffa6a79afb4c84a95487c37cb

Contents?: true

Size: 104 Bytes

Versions: 10

Compression:

Stored size: 104 Bytes

Contents

class Role < ActiveRecord::Base
  acts_as_role_manager

  def to_s
    nickname.to_s.humanize
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
role_authorization-0.9.6 templates/app/models/role.rb
role_authorization-0.9.5 templates/app/models/role.rb
role_authorization-0.9.4 app/models/role.rb
role_authorization-0.9.3 app/models/role.rb
role_authorization-0.9.2 app/models/role.rb
role_authorization-0.9.1 app/models/role.rb
role_authorization-0.9.0 app/models/role.rb
role_authorization-0.6.2 app/models/role.rb
role_authorization-0.6.1 app/models/role.rb
role_authorization-0.6.0 app/models/role.rb