Module: ActiveRecord::Arrangeable::ArrangeClassMethods

Defined in:
lib/active_record_arrangeable/arrangeable.rb

Instance Method Summary collapse

Instance Method Details

#arrange(*args) ⇒ Object

Applies params sorts to current scope



24
25
26
# File 'lib/active_record_arrangeable/arrangeable.rb', line 24

def arrange(*args)
  ArrangeService.arrange(self, *args)
end