Flowdock
method

move_higher

Importance_0
v1.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Acts::List::InstanceMethods
move_higher() 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 92
        def move_higher
          return unless higher_item

          acts_as_list_class.transaction do
            higher_item.increment_position
            decrement_position
          end
        end
Register or log in to add new notes.