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 `apply_resource_includes' #8

Closed
sedubois opened this issue Oct 31, 2019 · 1 comment · Fixed by #20
Closed

undefined method `apply_resource_includes' #8

sedubois opened this issue Oct 31, 2019 · 1 comment · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@sedubois
Copy link

Hello and thanks for this gem which I am trying to use to solve the JSON serialization issue described in administrate-field-jsonb (I am trying to use administrate-base_controller as recommended in the README of administrate-serialized_fields).

However, after including this base controller I get this error for the index action:
undefined method 'apply_resource_includes' for #<Admin::AdministratorsController:0x00007fa25d3696e0> Did you mean? apply_collection_includes

I can workaround the issue by avoiding this gem and instead copying the code required for the serialization, but still wanted to raise this observation here.

I am using Rails 5.2.3, Administrate 0.12.0.

@SleeplessByte
Copy link
Member

Sweet. They changed this from 0.11.0 to 0.12.0. I'll fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants