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

CSV Export fails for empty relations #2796

Closed
tmesquita opened this issue Dec 21, 2016 · 1 comment
Closed

CSV Export fails for empty relations #2796

tmesquita opened this issue Dec 21, 2016 · 1 comment

Comments

@tmesquita
Copy link
Contributor

tmesquita commented Dec 21, 2016

When trying to export a model that doesn't contain any records it errors out with undefined method 'collect' for nil:NilClass instead of generating a blank csv

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

2 participants