Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add with_roles helper & return distinct resources without select condition #275

Closed
wants to merge 3 commits into from

Conversation

hollow
Copy link

@hollow hollow commented Aug 24, 2014

also fixes some trailing whitespaces and unused variables

@wldcordeiro
Copy link
Member

This is an interesting change. I'm going to test it out but just need to get Travis to build properly.

@coveralls
Copy link

Coverage Status

Coverage increased (+18.53%) when pulling fbb7fe9 on remerge:master into 34e708a on RolifyCommunity:master.

@hollow
Copy link
Author

hollow commented Nov 13, 2014

i've rebase this against master. however the mongoid adapter does not return a proper relation object, so distinct() doesn't work. not exactly sure how to solve that

@werleo
Copy link

werleo commented Jun 14, 2016

@hollow for mongoid adapter you should call uniq as it returns Array

@hollow hollow closed this Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants