Hi there AM having a bit of trouble implementing acts_as_list in Rails. I notice that in a list of say four items, when I attempt to move the third item to the bottom, I end up with two items with position number 3 in the table. As far as I can tell, this only happens when I move_to_bottom the second-last item in list. All other methods seem fine. I notice this also happens in the Tracks gtd app as well. Any clues greatly appreciated Richard
An update on this after playing with it in irb. users = User.find(:all, :conditions => "survey_id =3") returns the 4 users referred to above. users[2].move_to_bottom returns nil, whereas users[2].move_higher returns true, all the while users.length returns 4 After attempting to move_to_bottom a few items, I''ve lost the sequential nature of my position value in the users table; each user has a position of 1!!