Skip to content

undefined method `type' for nil:NilClass #1548

Open
@amanpoplify

Description

@amanpoplify

I am using a custom method in an ActiveAdmin filter, but when I apply the filter, I get the following error:

undefined method 'type' for nil:NilClass

Setup:
ActiveAdmin: 3.2.5
Ransack: 4.3.0
Custom Method: job_title (which retrieves the job title from the Job table)
How can I properly configure this filter without encountering this error?

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