title: Gem jquery-datatables-rails not working
body: <p>In my gemfile I included these gems:</p>
  
  <pre><code>  gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails'
    gem 'jquery-ui-rails'
  </code></pre>
  
  <p>In my application.css file I included these</p>
  
  <pre><code> *= require dataTables/jquery.dataTables
   *= require dataTables/jquery.dataTables.bootstrap
  </code></pre>
  
  <p>In my application.js I included these</p>
  
  <pre><code> //= require dataTables/jquery.dataTables
   //= require dataTables/jquery.dataTables.bootstrap
     $('#sort').dataTable({
         "bPaginate": false, 
         "oLanguage": {
              "sSearch": "&lt;span class=icon-search&gt;&lt;/span&gt;"
  
          },
          "aoColumnDefs": [
            { 'bSortable': false, 'aTargets': [ 0 ] }
          ]     
      });
  $('#sort').dataTable( {
          "aaSorting": [[ 4, "desc" ]]
      } );
  
  // For fluid containers
  $('.datatable').dataTable({
    "sDom": "&lt;'row-fluid'&lt;'span6'l&gt;&lt;'span6'f&gt;r&gt;t&lt;'row-fluid'&lt;'span6'i&gt;&lt;'span6'p&gt;&gt;",
    "sPaginationType": "bootstrap"
  });
  </code></pre>
  
  <p>But I am not getting the option to search but I am getting this error </p>
  
  <pre><code>oCol is undefined   
  oCol.fnSetData( oData, val );
  </code></pre>
  
  <p>I referred datatables.net for this.Can someone please tell me what is this error?</p>