I''m building a very simple site for an architect. The main features are a listing of projects and a link list of partners. The way I build it is with one controller for the frontend and one for the backend. So far it''s been working very fine for the frontend. Now I thought I would use scaffold to generate some files to work from for the backend. There is no problem writing like this: class AdminController < ApplicationController scaffold :project end But if I do something like this it won''t work: class AdminController < ApplicationController def project scaffold :project end def partner scaffold :partner end end Is there a way to solve this? Can you write some syntax in the console to regerate the scaffold code nestled in a action? Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---