title: Undefined method each Ruby
body: <p>The run down.  A person can have many bids, this particular person only has one bid.</p>
  
  <p>In my index action I have <code>@bids = Bid.find_by_person_id(params[:person_id])</code></p>
  
  <p>in my view I do </p>
  
  <pre><code>&lt;% @bids.each do |bid| %&gt;
     &lt;%= bid.bid_amount %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>I am getting <code>NoMethodError: undefined method each' for #&lt;Bid:0x007f988a346f00&gt;</code> when visting the index view for person bids.</p>
  
  <p>Is this because this person only has one bid?  I feel thats not the case, but other than that im at a loss..</p>