title: Show the last object with some condition Rails
body: <p>In Rails I want to put a link in the view to the last object with some condition, I know how to found the object, like this code </p>
  
  <pre><code>Equipment.where(name: "Bulldozer").last
  </code></pre>
  
  <p>But I don´t know the right syntax to put in the href to go to the show of the last Equipment with name Bulldozer</p>
  
  <pre><code>&lt;td&gt; &lt;a href="&lt;% link_to Equipment... %&gt;"&gt; text &lt;/a&gt; &lt;/td&gt;
  
  </code></pre>
  
  <p>Thanks in advance!!!!</p>