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

Duplicating Roles with Rolify gem #114

Open
liborzahradka opened this issue Aug 31, 2016 · 0 comments
Open

Duplicating Roles with Rolify gem #114

liborzahradka opened this issue Aug 31, 2016 · 0 comments

Comments

@liborzahradka
Copy link

I just tried this gem, it's really great, save my day! But i found one issue with rolify gem, because there was duplicated roles and when i send something user get 2 same messages..

I fixed the issue by deleting the duplicates in seed.rb
So i get Role.create!, and User::HABTM_Roles.create!, Role::HABTM_Users.create!
But those two were duplicated each other so i just remove Role::HABTM_Users.create! and it's working great..

So i appreciate great job with this gem!

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

No branches or pull requests

1 participant