Class: People::User

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

Class Method Summary collapse

Class Method Details

.recent(num) ⇒ Object



4
5
6
# File 'app/models/people/user.rb', line 4

def self.recent(num)
  ::People::User.order("created_at DESC").limit(num)
end