title: No route matches [POST] "parent/id/child/new" error on nested association
body: <p>Companies has_many Quotes, trying to create a new Quote in the Quotes controller, nested routes in place, yet i get a;</p>
  
  <p><code>No route matches [POST] "/companies/123/quotes/new"</code></p>
  
  <p>routes.rb</p>
  
  <pre><code>resources :companies do
      resources :quotes, only: [ :new, :create, :show, :index]
      resources :employees, only: [:show, :index]
  end
  </code></pre>
  
  <p>rake routes </p>
  
  <pre><code>                  Prefix Verb   URI Pattern                                    Controller#Action
  
            company_quotes GET    /companies/:company_id/quotes(.:format)        quotes#index
                           POST   /companies/:company_id/quotes(.:format)        quotes#create
         new_company_quote GET    /companies/:company_id/quotes/new(.:format)    quotes#new
             company_quote GET    /companies/:company_id/quotes/:id(.:format)    quotes#show
         company_employees GET    /companies/:company_id/employees(.:format)     employees#index
          company_employee GET    /companies/:company_id/employees/:id(.:format) employees#show
                 companies GET    /companies(.:format)                           companies#index
                           POST   /companies(.:format)                           companies#create
               new_company GET    /companies/new(.:format)                       companies#new
              edit_company GET    /companies/:id/edit(.:format)                  companies#edit
                   company GET    /companies/:id(.:format)                       companies#show
                           PATCH  /companies/:id(.:format)                       companies#update
                           PUT    /companies/:id(.:format)                       companies#update
                           DELETE /companies/:id(.:format)                       companies#destroy
                      root GET    /                                              companies#new
  </code></pre>
  
  <p>new.html.erb</p>
  
  <pre><code>&lt;div class='form-group col-md-6 quote-form'&gt;
      &lt;%= simple_form_for [@company, @quote] do |quote| %&gt;
          &lt;%= render 'quote_fields', :f =&gt; quote %&gt;
          &lt;%= quote.submit "Get Quote", class: 'btn btn-primary' %&gt;
      &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>_quote_fields.html.erb</p>
  
  <pre><code>&lt;%= f.input :lives_overseas, as: :radio_buttons, collection: [['Yes', true], 
              ['No', false]], readonly: nil %&gt;
  &lt;%= f.input :payment_frequency, collection: Quote.payment_frequencies.map { |k,v| [ k.humanize, k ] } %&gt;
  &lt;%= params.inspect %&gt;
  </code></pre>
  
  <p>quotes_controller.rb</p>
  
  <pre><code>class QuotesController &lt; ApplicationController
  before_action :authenticate_user!, only: [ :new, :create, :show, :index ]
  
    def new
      @company = Company.find(params[:company_id])
      @quote = @company.quotes.build
      end
  
      def create
      @company = Company.find(params[:company_id])
      @quote = @company.quotes.build(params[:quote])
      if @quote.save
        render 'show'
      end
      end
  
    def show
      @company = Company.find(params[:company_id])
      @quote = @company.quotes.find(params[:id])
      @employees = @company.employees.all
      # puts debug(params)
    end
  
    def index
      @company = Company.find(params[:company_id])
      @quotes = @company.quotes.all
      @employees = @company.employees.all
    end
  end
  </code></pre>
  
  <p>Shouldn't the submit action on the quote form be posting to; <code>POST   /companies/:company_id/quotes(.:format)</code>, which is clearly present from rake routes?</p>
  
  <p>Any ideas what I'm doing wrong here? Thanks for the guidance.</p>