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

Undefined method 'union' on test environment #53

Closed
drselump14 opened this issue Dec 30, 2020 · 2 comments
Closed

Undefined method 'union' on test environment #53

drselump14 opened this issue Dec 30, 2020 · 2 comments

Comments

@drselump14
Copy link

drselump14 commented Dec 30, 2020

gem version: v2.0.0

Using Post.union only works on the development environment but raises an error in the test environment.
Post.all.union works in both environments.
Is it the intended behavior? because I can't found the documentation about it in Readme.

Any help would be appreciated. Thanks~

@PedroAugustoRamalhoDuarte

I had this same error in rails console, i follow this instructions and it works: #50 (comment)

@GeorgeKaraszi
Copy link
Owner

closing this issue since recent changes might have resolved this concern. Open a new issue if this persists.

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

3 participants