clyfe/acts_as_nested_interval — pull request #4 by klobuczek (2012-10-02 17:32:41+00:00)
Title: Moving node breaks in some scenarios

Have a look at the test I added. instance_method.rb:151 misses some descendants because the where condition is not true anymore after lftp and lftq have been updated.
All the update_all in this method can be combined to just one update. The query building is just quite complex to make it work for all 3 databases.
This quite serious bug have cost us sleepless night and some data corruption at high profile clients. I would really appreciate if you could have a look to double check I didn't miss anything.
Thank you
Heinrich