-
Notifications
You must be signed in to change notification settings - Fork 79
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
Header extraction failing with helper class #85
Comments
Hi Guys - this fix hasn't fixed the issue for me even with 3.2.0 I get the same error message. Only with 4a14a78 has this issue been fixed (hat tip to @epdejager) - but this commit ins't included in any release yet. Currently I forked and uped the version but I'd prefer If the current codebase would get a release. |
@bvogel Thanks for your heads-up. We are preparing for version 3.2.1 and will release it soon. @crafterm @tommeier Could you release 3.2.1? If you can add me (eitoball@gmail.com) to comma gem authors on ruby gems.org, I can release it. |
We use a helper class to extract our csv formatings from our model class. This will break from versions 3.1 onwards, 3.0.6 was the last working version.
Model:
Helper:
Error message:
NoMethodError: undefined method `klass' for nil:NilClass
Stacktrace:
Model and Helper class have been reduced to avoid complexity, line numbers in the stack trace may not coincide, but the error occurs when
csv_formatter
will be called for the first time.The text was updated successfully, but these errors were encountered: