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 `group' for nil:NilClass #34

Open
RobWu opened this issue Jun 3, 2014 · 2 comments
Open

undefined method `group' for nil:NilClass #34

RobWu opened this issue Jun 3, 2014 · 2 comments

Comments

@RobWu
Copy link
Contributor

RobWu commented Jun 3, 2014

Version 1.3.1 creates problems on rails 3.2.18.

@klass.where(conditions).includes(options[:include]).distinct(options[:distinct]) # => 

returns nil.
Because of the nil value I get "undefined method `group' for nil:NilClass"

on https://github.com/saulabs/reportable/blob/master/lib/saulabs/reportable/report.rb#L127

@bmulholland
Copy link

I'm encountering this too. Downgrading to 1.2.0 fixes the error.

@okliv
Copy link

okliv commented Mar 21, 2016

reportable 1.4.2, rails 3.2.1 - same here

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