Skip to content

Conversation

@deivid-rodriguez
Copy link
Member

Fixes #7334.

@deivid-rodriguez
Copy link
Member Author

Not sure how to get this tested. Only cucumber features have the proper setup to get this tested, but cucumber features are not supposed to verify this low level stuff.

@deivid-rodriguez
Copy link
Member Author

In the end I made a bigger refactor that allowed things to be more easily unit tested.

@deivid-rodriguez
Copy link
Member Author

Can you try this @senid231?

@deivid-rodriguez deivid-rodriguez changed the title Don't fetch data twice from DB when downloading CSV Avoid duplicate work when downloading CSV Apr 11, 2022
@deivid-rodriguez
Copy link
Member Author

Let's try it!

@deivid-rodriguez deivid-rodriguez merged commit 43d3a4a into master Apr 18, 2022
@deivid-rodriguez deivid-rodriguez deleted the no-dup-find-collection branch April 18, 2022 19:28
tagliala pushed a commit to tagliala/activeadmin that referenced this pull request Apr 21, 2022
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

Successfully merging this pull request may close these issues.

on Download CSV find_collection method called twice

3 participants