title: Ruby on Rails: looping through records, but don't show record from current id
body: <p>I'm able to search through nearby records based on latitude and longitude from geocoder gem, but how do I not show the record that I'm looking at now?</p>
  
  <p>If I'm in a project show with <code>localhost:3000/project/san-diego</code> (a location San Diego, US), and I do nearby search through </p>
  
  <pre><code># controller
  @project = Project.friendly.find(params[:id])
  @nearby = Project.near([@project.latitude, @project.longitude], 50, :order =&gt; 'distance')
  
  # view
  &lt;% @nearby.each do |n| %&gt;
    &lt;span&gt;&lt;%= n.title_name %&gt;&lt;/span&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>How do I not display the current record, but all other records that are nearby?</p>