'Admin::UsersHelper' is already used problem

I had the same problem setting up my categories, so I wiped them out and
then scaffolded the admin before the frontend app and it worked
perfectly.

ruby script/generate scaffold Admin::Categories name:string
parent_id:integer lft:integer rgt:integer

ruby script/generate scaffold Categories name:string parent_id:integer
lft:integer rgt:integer

Update... not so perfectly at first...

1. It was Category not Categories

ruby script/generate scaffold Admin::Category name:string
parent_id:integer lft:integer rgt:integer

ruby script/generate scaffold Category name:string parent_id:integer
lft:integer rgt:integer

2. I had to go into the admin controller and views and remove Admin::
and admin_ from everywhere but the controller class declaration.

3. Also... I think I'm gonna delete the generated Admin::Category class.

I have to wonder if there's not a better way... oh well, newbie must
learn.

Dave Furf wrote: