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: > 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

