Regarding issue #44
Not sure if this is completely fixed or not. I've been trying to think of an instance where there would be more to the where clause that you wouldn't want to exclude, but better to get a fix in that will work for people and fix it more when we get a concrete example ;)
Test to cover ticket: stefankroes#44 (comment)
Testing and fixing #parent_id=, #parent, and #root. Using except(:whe…
…re) to be cautious but unscoped may be fine as well
Applied this in cd268b6 and e552e10. I used unscoped, can't think of a situation where that would cause problems really.