title: Rails dataTable Bootstrap Styling Not Working
body: <p>I had dataTables working with the table in my rails application, but after I installed bootstrap and tried to set up the table with bootstrap, the table won't switch to the new styling. I followed the steps laid out here under "Twitter Bootstrap 3 Installation": <a href="https://github.com/rweng/jquery-datatables-rails" rel="nofollow">https://github.com/rweng/jquery-datatables-rails</a> </p>
  
  <p>Not sure what I'm doing wrong. Here is my code:</p>
  
  <p><strong>Table in view:</strong></p>
  
  <pre><code>&lt;table id="products"&gt;
      &lt;thead&gt;
        &lt;tr&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;Price&lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
          &lt;tr&gt;
            &lt;td&gt;Something&lt;/td&gt;
            &lt;td&gt;Something&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;Something&lt;/td&gt;
            &lt;td&gt;Something&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;Something&lt;/td&gt;
            &lt;td&gt;Something&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><strong>Application.js</strong></p>
  
  <pre><code>//= require jquery
  //= require jquery_ujs
  //= require twitter/bootstrap
  //= require dataTables/jquery.dataTables
  //= require dataTables/jquery.dataTables.bootstrap3
  //= require turbolinks
  //= require_tree .
  
  $(document).ready(function() 
      { 
          $("#products").dataTable({
              sPaginationType: "bootstrap"
          });
      } 
  ); 
  </code></pre>
  
  <p><strong>Application.css</strong></p>
  
  <pre><code>/*
   *= require_self
   *= require dataTables/jquery.dataTables.bootstrap3
   *= require_tree .
   */
  </code></pre>
  
  <p>What am I doing wrong? Thanks for your help.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I added <em>class="table table-bordered table-striped"</em> which helped a bit, but still isn't doing the job.</p>