Last night, after probably too much coffee, there was a problem with moving things around in the Box Auction. In this case, the Ancestry gem was moving a node just fine, but its descendants were staying where they were; becoming oprahns.
Eventually I got to the code (see screenshot) where the action was happenin’. Not sure I understand that dialect of Ruby when it’s late at night but I’m sure tomorrow I can make sense of it.
Now it’s tomorrow and I’m systematically preparing to decipher what’s going on in acts_as_tree. Just before beginning the re-write of descendant.update_attributes in the ponderous style to which I’m accustomed, I chance to look at the console output. Nice.
Ah well, at least I haven’t borked acts_as_tree yet.
effective date: 2009-12-01 00:56:27 UTC