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

'show_comments_in_menu' has been removed from ActiveAdmin since 1.0.0 #43

Open
peteroid opened this issue May 29, 2016 · 2 comments
Open

Comments

@peteroid
Copy link

When I tried to load the schema, I encountered this error:

rake aborted!
NoMethodError: undefined method `show_comments_in_menu=' for #<ActiveAdmin::Application:0x007fbcaaa63970>

According to ActiveAdmin, this config has been removed. This repo should update the ActiveAdmin with the new config format or add the version dependencies to the gemfile.

For more information, have a look here:
https://github.com/activeadmin/activeadmin/pull/4187/files

Quickfix
comment the line
config.show_comments_in_menu = false found in active_admin.rb:124

@davidjb
Copy link

davidjb commented Jun 10, 2016

+1 for a both a fix and version dependency. Trying to start a Rails server fails due to the same issue:

/opt/thingspeak/config/initializers/active_admin.rb:124:in `block in <top (required)>': undefined method `show_comments_in_menu=' for #<ActiveAdmin::Application:0x0055e065d61a00> (NoMethodError)
...

@danielricecodes
Copy link

@peteroid - wouldn't the quick fix be to change it to config.comments_menu = false. comments_menu appears to be the new method name, according to the diff in 1-general-configuration.md.

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

3 participants