title: rails contact management webapp design help
body: <p>maybe the rails pros here can help me with the software design of a contact management web app. </p>
  
  <p>i want to create Groups, where I can add Contacts to. I thought I generate a Group scaffold and a Contact scaffold with </p>
  
  <pre><code>group:references
  </code></pre>
  
  <p>Then I the models to</p>
  
  <pre><code>Group: has_many :contacts
  Contact: belongs_to :group
  </code></pre>
  
  <p>I also set the routes to</p>
  
  <pre><code>resources :groups do
    resources :contacts
  end
  </code></pre>
  
  <p>The whole thing should then be accessible over the groups controller, the contact views get included as partials.</p>
  
  <p>Is that the right way? Or would you do it another way?</p>
  
  <p>Thanks + regards</p>