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

Add special Phlex::CSV handling for ActiveRecord::Relation collections #157

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

willcosgrove
Copy link
Collaborator

This will automatically perform Phlex::CSV building using batched queries if given an ActiveRecord::Relation. This won't always be what the user wants, but it should be a good default. And it's easy enough to override each_item if something more custom is needed.

@joeldrapper joeldrapper merged commit df5e20c into main Mar 16, 2024
1 of 11 checks passed
@joeldrapper joeldrapper deleted the csv branch March 16, 2024 15:13
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.

2 participants