method
move_to_top
v1.2.6 -
Show latest stable
- Class:
ActiveRecord::Acts::List::InstanceMethods
move_to_top()public
Move to the top of the list. If the item is already in the list, the items above it have their position adjusted accordingly.