title: Presenter show page
body: <p>I've started moving all my view logic to presenters and I'm getting the following error <code>NameError at /bids
  uninitialized constant Bid::ActiveRecord_Associations_CollectionProxyPresenter</code> on my index view. The presenter works in all my other views for this model except index. I've added commented code of fixes I've tried.</p>
  
  <p>Code:</p>
  
  <p>Index view:</p>
  
  <pre><code>&lt;% present @bids do |bid_presenter| %&gt;
  
  &lt;% end %&gt;
  
  # tried @bids to match controller
  # &lt;% present @bids do |bid_presenter| %&gt;
  # &lt;% end %&gt;
  </code></pre>
  
  <p>bid_presenter.rb: </p>
  
  <pre><code>class BidPresenter &lt; BasePresenter
      presents :bid
  
      # tried :bids
      # presents :bids
  end
  </code></pre>
  
  <p>base_presenter.rb:</p>
  
  <pre><code>class BasePresenter
      def initialize(object, template)
          @object = object
          @template = template
      end
  
  private
  
      def self.presents(name)
          define_method(name) do
              @object
          end
      end
  
      # h method returns the template object
      def h
          @template
      end
  
      def method_missing(*args, &amp;block)
          @template.send(*args, &amp;block)
      end
  end
  </code></pre>
  
  <p>bids_controller.rb:</p>
  
  <pre><code>def index
      @bids = current_user.bids
  end
  </code></pre>