gregbell/active_admin — Issue #932: Not working well with class name that can be translated by I18n
Author: davidsun
Created: 2012-01-21 02:54:20+00:00
State: open

In the project, the class name is Activity, while the name can be translated into Chinese by I18n, called "活动", then, when running ActiveAdmin with Rails 3.2, it shows this error:
.../active_admin/namespace.rb:169:in `eval': (eval):1: class/module name must be CONSTANT (SyntaxError) ...ss ::Admin::活动sController < ActiveAdmin::ResourceControl...

And the error was in this file:
.../lib/active_admin/namespace.rb:169:in `register_resource_controller'