title: Inline styling on Rails form produces empty string
body: <p>I am developing a rails application that have a form with post action. I wanted to add inline styling to one of the text box. I used the following code</p>
  
  <pre><code>    &lt;div class="control-group"&gt;
        &lt;%= f.label :name, :class =&gt; "control-label"%&gt;
        &lt;div class="controls"&gt;&lt;%= f.text_field :name,:class=&gt;'form-control',:style=&gt;"width:initilal;" %&gt;&lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>but surprisingly, when the the page is rendered, the generated HTML for the relevant section becomes:</p>
  
  <pre><code>    &lt;div class="control-group"&gt;
        &lt;%= f.label :name, :class =&gt; "control-label"%&gt;
        &lt;div class="controls"&gt;&lt;%= f.text_field :name,:class=&gt;'form-control',:style=&gt;"width:initilal;" %&gt;&lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>There is a 'style' attribute in the output but its value is empty.</p>
  
  <p>Why is this happeing? </p>
  
  <p>Note: Using external CSS is not a preferred solution. I am using rails 3.1.1</p>