title: Rails: scaffold. Create admin controller for model
body: <p>I want to create admin interface for existing model User.</p>
  
  <p>What is the simplest way?<br>
  I think, it's scaffolding.</p>
  
  <p>Scaffolding in rails is generated by script(<code>rails generate scaffold</code>), and there is no options to do it dynamically (like in django), correct?</p>
  
  <p>So how can I create scaffolding controller <code>AdminUsers</code> for model <code>User</code>? Create <code>AdminUsers</code> scaffolding and replace <code>AdminUser</code> model by <code>User</code>?</p>
  
  <p>What should I do if model will be changed by migrations? Manually update scaffolding controller and views, right? Is there any automation?</p>