-
Notifications
You must be signed in to change notification settings - Fork 6
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
using_access_control
causes hangs on Rails 5.0
#28
Comments
Oh, I found the problem - an infinite loop - here:
It loops over This is on Ruby 2.6.9 - perhaps the behaviour of |
Changing the
resolves this issue for us. |
@samstickland While this change seems fine, just to confirm - your test suite and everything after this change is good? We don't use |
Yes, this fixed the problem for us. |
Firstly, thanks for creating this gem, it's helping us out.
We our upgrading an old application to Rails 5.0 (5.0.7.2), and have switched to your gem (1.0.0) for this.
Including this DSL entry in a model
using_access_control
causes our tests to hang when these models are created (via FactoryBot).I wonder if you could suggest some code that we can start digging into debugging purposes?
The text was updated successfully, but these errors were encountered: