acts_as_list problem

Hi all, I’m having this confusing acts_as_list problem:

  • I have a Slideshow and Slide models, Slide acts as list in the scope of slideshow

  • the first record in the slides db table is <id : 1, position : 1 ,…> and the second is <id : 2, position : 2 ,…>

  • when applying that code in the console the results were so strange,

    slideshow is a local variable a have defined.