thingspeak icon indicating copy to clipboard operation
thingspeak copied to clipboard

'show_comments_in_menu' has been removed from ActiveAdmin since 1.0.0

Open peteroid opened this issue 8 years ago • 2 comments

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

peteroid avatar May 29 '16 18:05 peteroid

+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)
...

davidjb avatar Jun 10 '16 04:06 davidjb

@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.

danielricecodes avatar Mar 22 '18 16:03 danielricecodes