method
move_higher
v1.1.6 -
Show latest stable
- Class:
ActiveRecord::Acts::List::InstanceMethods
move_higher()public
No documentation available.
# 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