class ActiveAdmin::ResourceCollection::ConfigMismatch

def initialize(existing, given)

def initialize(existing, given)
  super "You're trying to register #{given.resource_class} as #{given.resource_name}, " +
        "but the existing #{existing.class} config was built for #{existing.resource_class}!"
end