Fix for Mongoid DB compatibility
Fix for Mongoid DB compatibility

Need to check for whether `.find_each`is supported or not.
jfilip/rolify,sopheak-se/rolify,WebEnrich/rolify,cwingate/rolify,RolifyCommunity/rolify,gohuygo/rolify,jayshreeanand/rolify