title: Rails dot instead of slash in URL
body: <p>In my routes.rb I have:</p>
  
  <pre><code>get "projects/:category_id" =&gt; "projects#index"
  </code></pre>
  
  <p>When I write <code>projects_path(1)</code> the generated URL is <code>/projects.1</code> instead of <code>/projects/1</code>. Do you know why this is happening?
  Here is the output of <code>rake routes</code>:</p>
  
  <pre><code> GET /projects/:category_id(.:format) projects#index
  </code></pre>