right now i’m adding an item to my ‘list’ but i’m unsure how to move
it to a certain spot in the list. specifically i want to put it at the
bottom of the list. i assumed that if i did something like
parent.children << new_child
then the ‘position’ field in the child table would be given some
sensible default by rails but instead it’s set to NULL.
of course there’s a bunch of ugly ways i can make this work but i’m
wondering what would be the best/cleanest way…?
thanks in advance,