title: No Route Matches error - with Nested Resource
body: <p>I have the following Nested Resource in my <code>routes.rb</code> file</p>
  
  <pre><code>  resource :issuer do
      resources :certificates
    end
  </code></pre>
  
  <p>My Models:</p>
  
  <pre><code>class Issuer &lt; ActiveRecord::Base
    has_many :certificates
  end
  
  class Certificate &lt; ActiveRecord::Base
    belongs_to :issuer
  end
  </code></pre>
  
  <p><strong>I get the following error when i visit:</strong> <code>/issuer/2/certificates</code></p>
  
  <p><code>No route matches {:action=&gt;"edit", :controller=&gt;"certificates"}</code></p>
  
  <p>Any help would be appreciated.. Thanks in advance!</p>
  
  <p><strong>EDIT</strong> : MY <code>rake routes</code></p>
  
  <pre><code>    issuer_certificates GET    /issuer/:issuer_id/certificates(.:format)          {:action=&gt;"index", :controller=&gt;"certificates"}
                          POST   /issuer/:issuer_id/certificates(.:format)          {:action=&gt;"create", :controller=&gt;"certificates"}
   new_issuer_certificate GET    /issuer/:issuer_id/certificates/new(.:format)      {:action=&gt;"new", :controller=&gt;"certificates"}
  edit_issuer_certificate GET    /issuer/:issuer_id/certificates/:id/edit(.:format) {:action=&gt;"edit", :controller=&gt;"certificates"}
       issuer_certificate GET    /issuer/:issuer_id/certificates/:id(.:format)      {:action=&gt;"show", :controller=&gt;"certificates"}
                          PUT    /issuer/:issuer_id/certificates/:id(.:format)      {:action=&gt;"update", :controller=&gt;"certificates"}
                          DELETE /issuer/:issuer_id/certificates/:id(.:format)      {:action=&gt;"destroy", :controller=&gt;"certificates"}
  </code></pre>