title: Simple_form and rails generate scaffolding
body: <p>So I am making a web application that can process background checks for a casino. I am using the simple_form gem to handle the data entry. </p>
  
  <p>So I wanted to make a Model called Applicant, and one of the parameters is type:string.  Either the applicant is an individual applying for a gaming license or a business applying for a vendor's license. This is my first time using the rails framework.  </p>
  
  <p>I typed rails generate scaffolding Applicant type:string into the command line.  </p>
  
  <p>On the view I wanted to make type a radio button. Business or individual.  However when I click create applicant the type is not saved. All of the other fields are full except for type.</p>
  
  <pre><code>              &lt;section&gt;
                  &lt;h3&gt;Address Information&lt;/h3&gt;
  
                      &lt;%= f.input :address %&gt;
                      &lt;%= f.input :line2 %&gt;
                      &lt;%= f.input :city %&gt;
                      &lt;%= f.input :state %&gt;
                      &lt;%= f.input :zip %&gt;&lt;br&gt;
                  &lt;h3&gt;What Kind of application is this&lt;/h3&gt;
                    &lt;%= radio_button_tag :type, "Business", @type %&gt;Business 
                    &lt;%= radio_button_tag :type, "Individual", @type %&gt;Individual&lt;br&gt; 
  
                  &lt;div class="form-actions"&gt;
                    &lt;%= f.button :submit, label:"Submit"%&gt;
                  &lt;/div&gt;
                &lt;/section&gt;
  </code></pre>
  
  <p>I really appreciate any help. I just don't understand what I am doing wrong, and why no data is being stored in the type field.</p>
  
  <p>Thanks</p>