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 `type' for nil:NilClass #1548

Open
amanpoplify opened this issue Feb 20, 2025 · 0 comments
Open

undefined method `type' for nil:NilClass #1548

amanpoplify opened this issue Feb 20, 2025 · 0 comments

Comments

@amanpoplify
Copy link

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?

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

1 participant