title: Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, string given
body: <p>I am trying to build a tagging system using <a href="https://github.com/sniperwolf/taggingJS" rel="nofollow">taggingJS</a> on the frontend and <a href="https://github.com/rtconner/laravel-tagging" rel="nofollow">laravel-tagging</a> on the backend. I got them both working separately, but I cannot get the tags generated by taggingJS to enter the database. </p>
  
  <p>My Laravel controller looks like this:</p>
  
  <pre><code>public function storeData(Request $request)
  {
      $link = new Links;
      $link-&gt;tag_name = $request-&gt;taggone;
      $link-&gt;save();
  
      $link-&gt;tag(explode(',', $request-&gt;taggone));
      $link-&gt;save();
  
      return view('pages.postdata', compact('tags'));
  }
  </code></pre>
  
  <p>The HTML code looks like this:</p>
  
  <pre><code>&lt;div class="example-wrapper"&gt;
      &lt;div class="tags well"&gt;
          &lt;label for="tag" class="control-label"&gt;Tag&lt;/label&gt;
          &lt;div data-tags-input-name="taggone" id="tag"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I left taggingJS' Javascript unchanged like this (I am not sure if it is even relevant to this issue):</p>
  
  <pre><code>&lt;script&gt;
  // jQuery on Ready example
  (function( $, window, document, undefined ) {
      $( document ).ready(function() {
          var t = $( "#tag" ).tagging();
          t[0].addClass( "form-control" );
          // console.log( t[0] );
      });
  })( window.jQuery, window, document );
  &lt;/script&gt;
  </code></pre>
  
  <p>If I understand it correctly, the tags input into the field <code>taggone</code> are supposed to be requested by the controller and saved into the database. But when I submit the form I get the error:</p>
  
  <blockquote>
    <p>Type error: Argument 1 passed to
    Illuminate\Database\Grammar::parameterize() must be of the type array,
    string given, called in
    /home/vagrant/Code/Laravel/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php
    on line 678</p>
  </blockquote>
  
  <p>Can I have an advice on how to get it to work?</p>