Flowdock
method

move_to_top

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActiveRecord::Acts::List::InstanceMethods
move_to_top() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/acts/list.rb, line 109
        def move_to_top
          return unless in_list?
          acts_as_list_class.transaction do
            increment_positions_on_higher_items
            assume_top_position
          end
        end
Register or log in to add new notes.