title: Rails dataTables add row not working
body: <p>I'm using <code>gem 'jquery-datatables-rails', '~&gt; 2.1.10.0.3'</code> in a Rails project.</p>
  
  <p>I'm just starting an attempt to use the dataTable add row feature.</p>
  
  <p>This is my JavaScript (Coffeescript):</p>
  
  <pre><code>t = $("#dataTableAdd").dataTable
    bfilter: true
    iDisplayLength: 25
    bLengthChange: true
    "sPaginationType": "bootstrap"
    oColVis:
      buttonText: "Hide/Show"
      bRestore: true
    sDom: "C&lt;\"clear\"&gt;lrTtiXp"
    oTableTools:
      aButtons: [
        sExtends: "xls"
        sButtonText: "Save Excel"
      ,
        sExtends: "pdf"
        sPdfOrientation: "landscape"
        sPdfMessage: "pdf"
        mColumns: "visible"
        sButtonText: "Save PDF"
      ]
  
  $("#addRow").on "click", -&gt;
    t.row.add([
        "Name"
        "Description"
        "Type"
        "Count"
        "Manufacturer"
        "Man Date"
        "Purchase Date"
        "Purchase Price"
        "Actions"
        "Actions2"
    ]).draw()
    return 
  </code></pre>
  
  <p>I'm getting this error when I click on the addrow button:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'add' of undefined 
  </code></pre>
  
  <p>It happens on the <code>t.row.add</code> line.</p>
  
  <p>Thanks for the help!</p>