title: Laravel edit view returns all checkboxes checked
body: <p>I have two tables, basic stuff, categories, and articles. 
  Categories: </p>
  
  <ul>
  <li>id</li>
  <li>name</li>
  </ul>
  
  <p>Articles: </p>
  
  <ul>
  <li>id </li>
  <li>title  </li>
  <li>category_id ...</li>
  </ul>
  
  <p>Relationships</p>
  
  <p>Category model:</p>
  
  <pre><code>public function articles()
  {
      return $this-&gt;hasMany('Article');
  }
  </code></pre>
  
  <p>Articles model:</p>
  
  <pre><code>public function category()
  {
      return $this-&gt;belongsTo('Category');
  }
  </code></pre>
  
  <p>edit and upadte methods in controller:</p>
  
  <pre><code>public function getEdit($id)
      {
          $categories = Category::get();
          $articles = Article::with('category')-&gt;find($id);
          return View::make('articles.edit', compact('articles', 'categories'), array('title' =&gt; 'Promena clanka'));
      }
  
      public function updateEdit($id)
      {
  
          $validation = Validator::make(Input::all(), Article::$rules);
  
          if($validation-&gt;passes()) {
              $article = Article::find($id);
              $article-&gt;title = Input::get('title');
              $article-&gt;slug = Slug::make(Input::get('title'));
              $article-&gt;body = Input::get('body');
              $article-&gt;category_id = Input::get('category_id');
              $article-&gt;tag = Input::get('tag');
              $article-&gt;visibility = Input::get('visibility');
              $article-&gt;update();
              return Redirect::route('dashboard')-&gt;with('message', 'Uspesno promenjen clanak');
          }
  
          return Redirect::route('dashboard/article/edit/' . $id )-&gt;withErrors($validation);
      }
  </code></pre>
  
  <p>How can I dispay only checked checkbox that has category_id value. So far i get all checked.</p>
  
  <pre><code>@if(count($categories))
      @foreach($categories as $category)
          &lt;div class="checkbox"&gt;
              {{Form::checkbox('category_id', $category-&gt;id ) }} &lt;span&gt;{{Str::Title($category-&gt;name) }}&lt;/span&gt;
          &lt;/div&gt;
      @endforeach
  @endif
  </code></pre>
  
  <p>How should I solve this?</p>