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

Does not respect default scopes #31

Closed
spilliton opened this issue Apr 29, 2015 · 1 comment
Closed

Does not respect default scopes #31

spilliton opened this issue Apr 29, 2015 · 1 comment

Comments

@spilliton
Copy link
Owner

I noticed that when using the paranoia gem (which adds a default scope to exclude "soft deleted" records) that order_by_rand did not include the "where deleted_at is null".

It should respect that default scope and not blow it away

@spilliton
Copy link
Owner Author

Fixed with #37

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