Method: Sequel::Plugins::List::InstanceMethods#move_to_top
- Defined in:
- lib/sequel/plugins/list.rb
#move_to_top ⇒ Object
Move this instance to the top (first position, usually position 1) of the list.
160 161 162 |
# File 'lib/sequel/plugins/list.rb', line 160 def move_to_top move_to(model.top_of_list) end |