title: Telephone formatting
body: <p>I am new to Rails and I am trying to figure out how to use the example at <a href="http://apidock.com/rails/ActionView/Helpers/NumberHelper/number_to_phone" rel="nofollow">http://apidock.com/rails/ActionView/Helpers/NumberHelper/number_to_phone</a> to format a phone number in my code below.  Trying to figure out how and where I call number_to_phone(number, options = {}) public</p>
  
  <pre><code>&lt;div class="form-group"&gt;
        &lt;label class="control-label col-sm-5" for="phone"&gt;Phone Number:&lt;/label&gt;
        &lt;div class="col-sm-7"&gt;
          &lt;%= f.text_field :phone, class: 'form-control', autofocus: true, placeholder: 'xxx-xxx-xxxx' %&gt;
       &lt;/div&gt;
     &lt;/div&gt;
  </code></pre>