Class: Forum

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

Class Method Summary collapse

Class Method Details

.find_ordered(options = {}) ⇒ Object

retrieves forums ordered by position



20
21
22
# File 'app/models/forum.rb', line 20

def self.find_ordered(options = {})
  self.order('position')
end