Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

scope on instance methods, how to? #81

Closed
JeanMertz opened this Issue · 2 comments

2 participants

@JeanMertz

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?

@stefankroes
Owner
@JeanMertz

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.