Invalid Route Name, Already in Use: 'Admin_Root' (Argumenterror) - Failed Activeadmin Install

Invalid route name, already in use: 'admin_root' (ArgumentError) - Failed ActiveAdmin install

Solved it by uninstalling ActiveAdmin, reinstalling it, deleting the second ActiveAdmin.routes(self) in my routes file, then deleting my schema file. After that, I ran rake db:reset and remigrated the database.

Installing Active Admin and getting an ArgumentError

I had the same error when upgrading to rails 4 with ActiveAdmin and it turned out this line was repeated twice in my routes.rb: ActiveAdmin.routes(self) I removed the second instance and the error went away.



Related Topics



Leave a reply



Submit