title: How to insert data to tables which is in "has and belongs to many" relationship. Controller and Model generated by scaffold in rails
body: <p>I am new to Ruby on Rails. I use scaffold to generate first controller ( model and view),  Projects in this case.
  Scaffold automatically create a form that can use to insert data to project table. I want to add skills to this form, so users can add required skills on project. Once they create project it should add skills table if skills is not available (new skills ) also i want to update projects_skills table ( relation )</p>
  
  <p>Currently i have Project ( Controller ), Project (model ) and Views - using scaffold , Skills (Controller, Model and Views ) manually created </p>
  
  <p>Thanks in advance </p>