EppO/rolify — pull request #108 by daviscabral (2012-11-02 02:41:51+00:00)
Title: Remove nil entries from ResourceAdapter#resources_find when using mongoid adapter

I've found this bug when using Class.find(id).search_based_on_something.with_roles(:role).
After fixing it, I've found that the issue #104 also handles that. So, I guess both pull requests will fix the same issue, but I used "compact" instead of reject and also wrote some tests.