stefankroes/ancestry — Issue #81: scope on instance methods, how to?
Author: JeanMertz
Created: 2011-10-18 11:14:03+00:00
State: open

I am having trouble understanding how to scope the instance methods of Ancestry. When I do @page.siblings, I want all siblings with the same `ancestry` value, but I also want this scoped by `website_id` for example. Right now, @page.siblings simply shows **all** pages with the same `ancestry` value, is there a way to further scope this (and all other methods) by `website_id`?