mdub/arboreal — pull request #2 by yob (2011-11-01 11:41:21+00:00)
Title: Rails 3.0/3.1 compatability

named_scope doesn't exist in rails 3.1, so this patch changes it to scope instead.

This breaks compatibility for rails 2.x, but that's not really an issue for me. Feel free to ignore this request if rails 2.x support is important.