title: Rails query parameter with same name as optional path parameter
body: <p>Suppose, I have this code in routes.rb</p>
  
  <pre><code>get "/items/(:brand)", to: "items#index", as: :items
  </code></pre>
  
  <p>I can't change this route, because sometimes I need urls with brand in path (not in query).
  Can I create path like this:</p>
  
  <pre><code>/items?brand=TestBrand
  </code></pre>
  
  <p>but not this:</p>
  
  <pre><code>/items/TestBrand
  </code></pre>
  
  <p>via route helpers?</p>
  
  <p><code>items_path(brand: "TestBrand")</code> give 2'nd variant.</p>