title: Retrieve from one to many relation. laravel
body: <p>I am trying to filter my search result. I have been able to retrieve value from many to many table. But i have no idea on how to do that with one to many relationship. 
  I have two tables, trips and departures.
  A trip has many departures. Their structure are:
  Trips:
  +++++++++</p>
  
  <ol>
  <li>id</li>
  <li>name</li>
  <li>other fields..</li>
  </ol>
  
  <p>departures:
  ++++++++++++</p>
  
  <ol>
  <li>id </li>
  <li>start_date </li>
  <li>tripsid</li>
  </ol>
  
  <p>Their relations are defined as:
  Trip:</p>
  
  <pre><code>public function departures()
      {
          return $this-&gt;hasMany('App\Departure',"tripsid","id");
      }
  </code></pre>
  
  <p>Departure:</p>
  
  <pre><code>public function trips()
      {
          return $this-&gt;belongsTo('App\Trip','tripsid','id');
      }
  </code></pre>
  
  <p>I want to retrieve those trips who start date = (some year or month(from start_date)).</p>
  
  <p>How can i do this? Can anyone help me?</p>