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 `helper_method' for RailsAdmin::ApplicationController:Class (NoMethodError) #2707

Closed
mmichael0413 opened this issue Sep 5, 2016 · 1 comment

Comments

@mmichael0413
Copy link

Does anyone know how to fix the issue with Rails 5 api mode no longer supporting helper_method in controllers that inherit from ActionController::API?

I'm trying to use rails_admin on my Heroku app (without Devise) and I can't get past this issue.

The full error:

! Unable to load application: NoMethodError: undefined method `helper_method' for RailsAdmin::ApplicationController:Class
2016-09-05T05:21:02.610870+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/rails_admin-1.0.0.rc/app/controllers/rails_admin/application_controller.rb:18:in `<class:ApplicationController>': undefined method `helper_method' for RailsAdmin::ApplicationController:Class (NoMethodError)

Devise had a workaround heartcombo/devise#3732.

Any suggestions?

@mshibuya
Copy link
Member

mshibuya commented Sep 5, 2016

1.0.0.rc has the issue, please try the master branch.

@mshibuya mshibuya closed this as completed Sep 5, 2016
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

2 participants