Works with a pre-defined scope as well.
Ensure the ids and class names are the same
Better way to match
Proper spec for accepting activerecord relations
Merge pull request #2 from articulate/add-scoping

Add scoping support