harvesthq/ranked-model — Issue #15: scoping by multiple values
Author: JeanMertz
Created: 2011-10-18 11:23:35+00:00
State: open

Hi, I am trying to get the following scope to work, but it isn't working and I have no clue how to implement this with ranked-model, any thoughts?

```Ruby
scope :ranked_scope, lambda { |page| where(ancestry: page.ancestry, website: page.website) }
ranks :position, scope: :ranked_scope
```