Skip to content

Instantly share code, notes, and snippets.

@bbonamin
Created December 2, 2011 10:44
Show Gist options
  • Save bbonamin/1422767 to your computer and use it in GitHub Desktop.
Save bbonamin/1422767 to your computer and use it in GitHub Desktop.
ActiveAdmin routing error
/home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:343:in `add_route': Invalid route name: 'admin_avións' (ArgumentError)
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:385:in `match'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1292:in `match'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1479:in `match'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:515:in `map_method'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:477:in `get'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1133:in `block (2 levels) in resources'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1171:in `block (2 levels) in collection'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:632:in `scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1170:in `block in collection'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1379:in `with_scope_level'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1169:in `collection'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1132:in `block in resources'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1388:in `block (2 levels) in resource_scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:632:in `scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1387:in `block in resource_scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1379:in `with_scope_level'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1386:in `resource_scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1129:in `resources'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:38:in `block (3 levels) in apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:80:in `instance_eval'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:80:in `block (4 levels) in apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:698:in `block in namespace'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:632:in `scope'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:698:in `namespace'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/mapper.rb:1238:in `namespace'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:79:in `block (3 levels) in apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:85:in `instance_eval'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:85:in `block (2 levels) in apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:32:in `each'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:32:in `block in apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:30:in `instance_exec'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/router.rb:30:in `apply'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/application.rb:189:in `routes'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin.rb:78:in `routes'
from /home/bcb/dev/ruby/cprsystem/config/routes.rb:12:in `block in <top (required)>'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:258:in `instance_exec'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:258:in `eval_block'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:235:in `draw'
from /home/bcb/dev/ruby/cprsystem/config/routes.rb:1:in `<top (required)>'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `block in load'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/routes_reloader.rb:29:in `block in load_paths'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/routes_reloader.rb:29:in `each'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/routes_reloader.rb:29:in `load_paths'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/routes_reloader.rb:13:in `reload!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application.rb:87:in `reload_routes!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/reloader.rb:34:in `reload!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/reloader.rb:28:in `block in initialize'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:32:in `call'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:32:in `execute_if_updated'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_admin-476b8d250d15/lib/active_admin/reloader.rb:45:in `block in attach!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:404:in `_run_prepare_callbacks'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `run'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `each'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application.rb:96:in `initialize!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/bcb/dev/ruby/cprsystem/config/environment.rb:25:in `<top (required)>'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/application.rb:83:in `require_environment!'
from /home/bcb/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands.rb:22:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment