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

scoped models break retention_magic #3

Open
toddp opened this issue May 23, 2016 · 0 comments
Open

scoped models break retention_magic #3

toddp opened this issue May 23, 2016 · 0 comments
Labels

Comments

@toddp
Copy link

toddp commented May 23, 2016

I'm still setting up and configuring this gem, but in doing so came across some problems.

When setting retention_models, if the model has a default scope (at least in my case) RM threw an error when trying to load /retention_magic.

I imagine if you call model.unscoped this won't be a problem. When I commented out my scopes RM seemed to render ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants