title: Rails routes to set of resources?
body: <p>A typical Rails route like:</p>
  
  <pre><code> resource :customer
  </code></pre>
  
  <p>Sets up routes for index, show, etc.</p>
  
  <p>To access all the customers, I can use the route</p>
  
  <pre><code>/customers
  </code></pre>
  
  <p>To access a single customer, I use:</p>
  
  <pre><code>/customers/1
  </code></pre>
  
  <p>Whats the most concise, RESTful way to create a route and controller action that would allow a user to view a set of customers, i.e. something like</p>
  
  <pre><code>/customers/[1,2,3,4,5]
  </code></pre>
  
  <p><em><strong>Updated with rationale</em></strong></p>
  
  <p>The use case:</p>
  
  <ul>
  <li>This action will be called via Javascript to provide details on selected users.  If a user selects 3 customers through the interface, I would like one request to pull info for all 3, instead of having to make 3 separate requests</li>
  </ul>