Skip to content


Subversion checkout URL

You can clone with
Download ZIP


scope on instance methods, how to? #81

JeanMertz opened this Issue · 2 comments

2 participants


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?


Ah right, that makes sense. Thanks for the quick reply. So there is no way to make it so all instance methods of Ancestry always use the website_id = x scope?

@JeanMertz JeanMertz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.