Skip to content

undefined method `group' for nil:NilClass #34

@RobWu

Description

@RobWu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions