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
cancancan breaks spring + rspec on rails 3.2.x #405
Comments
I'm suspecting attempting a connection on code load is to blame. |
I found the problem to be how the module I remember this is better off done in a railtie - somehow. I've also seen a related issue with exactly this same code location: #342 |
Dudes, your'e dropping support for Rails 3.x? |
Up for a new 1.x release. PR is welcome! |
There it is. I just cherry-pick'd @kuldeepaggarwal commit. Credit to whom credit is due :) |
I'm having a problem running "springified" rspec on a rails 3.2.22.5 app, and through a process of elimination I isolated the problem to the cancancan gem.
This is the error I'm getting when running rspec with the app already preloaded with spring:
I've setup a sample app running with docker compose to run the test in a reproduceable way:
https://github.com/IcaliaLabs/cancancan-test (Follow instructions on readme)
The text was updated successfully, but these errors were encountered: