EppO/rolify — comment on commit fff04976595f26bf92d92f1331c4e234527e1514
File:  line 0
By hazah:

In my original thinking, I imagined this being a stepping stone to a slightly different feature. The `with_role` method would be returning the scope which called it, narrowed down to the roles. For example if we have `user.has_role "owner", Post.first`, then we can ask the `Post` model for all the posts the `user` object has `owner` role: `Post.with_role("owner", user).limit(20) #The first 20 posts on which the user has an owner role on.`