Hi,
http://api.rubyonrails.org/classes/ActiveRecord/Acts/List/ClassMethods.html
I try to play with acts_as_list feature and I don't understand these lines: todo_list.first.move_to_bottom todo_list.last.move_higher
todo_list is supposed to be an instance from TodoList class. But there is no method 'first' on this class. Yes, move_to_bottom and move_higher is working as expected. But it is must be like this: temp_todo_item = todo_list.todo_items.first temp_todo_item.move_to_bottom
Is it documentation bug or am I misunderstanding the documentation?
Thank you.