Class: Role

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/role.rb

Class Method Summary collapse

Class Method Details

.getallObject



9
10
11
# File 'app/models/role.rb', line 9

def Role.getall
  Role.where("id <> 1").order("id DESC")
end