title: Undefined method with “_path” while using simple_form_for
body: <p>I am having problem with routing when using simple_form_for. I understand it is something to do with pluralizing but the same form is working perfectly for edit/update method. </p>
  
  <pre><code>undefined method `companies_path'
  Did you mean?  companys_path
                 company_path
  </code></pre>
  
  <p><strong>companys_controller</strong></p>
  
  <pre><code>def new
      @company = Company.new
  end
  
  def create
      @company = Company.new(company_params)
  
      if @company.save
          redirect_to @company
      else
          render 'new'
      end
  
  end
  </code></pre>
  
  <p><strong>_form.html.haml</strong></p>
  
  <pre><code>= simple_form_for @company do |f|
   = f.input :name
   = f.input :description
   = f.input :website
  
   = f.button :submit
  </code></pre>
  
  <p><strong>rake routes</strong></p>
  
  <pre><code>    companys GET    /companys(.:format)          companys#index
               POST   /companys(.:format)          companys#create
   new_company GET    /companys/new(.:format)      companys#new
  edit_company GET    /companys/:id/edit(.:format) companys#edit
       company GET    /companys/:id(.:format)      companys#show
               PATCH  /companys/:id(.:format)      companys#update
               PUT    /companys/:id(.:format)      companys#update
               DELETE /companys/:id(.:format)      companys#destroy
  </code></pre>
  
  <p>I guess the problem is, Edit/update is going for 'companys_path' and new/create is going for 'companies_path'. Any help is appreciated. </p>