Module: Resort::ClassMethods
- Defined in:
- lib/resort.rb
Overview
Helper class methods to be injected into ActiveRecord::Base class. They will be available to every model.
Instance Method Summary collapse
-
#resort! ⇒ Object
Helper class method to include Resort::Sortable in an ActiveRecord model.
Instance Method Details
#resort! ⇒ Object
Helper class method to include Resort::Sortable in an ActiveRecord model.
231 232 233 |
# File 'lib/resort.rb', line 231 def resort! include Sortable end |