title: NameError in my_foos#index undefined local variable or method 'foo_bar_my_foos_path'
body: <p>I'm having a problem with understanding how RESTFUL resources works in Rails 3.  If I have in <strong>my rails routes.rb file:</strong></p>
  
  <pre><code>resources :my_foos do
     member do
        get 'foo_bar'
     end
  end
  </code></pre>
  
  <p><strong>I have a controller file my_foos_controller.rb</strong></p>
  
  <pre><code>class MyFoosController &lt; ApplicationController
     def index
     end
  
     def foo_bar
     end
  end
  </code></pre>
  
  <p><strong>I have a view file test.html.erb</strong></p>
  
  <pre><code>&lt;%= foo_bar_my_foos_path %&gt;
  </code></pre>
  
  <p>When I try to display my test.html.erb file, I get an error:
  as in the title.</p>
  
  <p>Everything I've described to you works if I'm dealing with a resource ( singular ) but not with the plural resources.  Am I missing something in the convention?</p>
  
  <p>Thanks</p>