what is the proper way to make this work? --force-plural doesn't seem to change the results. this only seems to happen when you choose words that the plural and singular is the same word.
script/generate scaffold equipment name:string description:text warning Plural version of the model detected, using singularized version. Override with --force-plural.
results in the following error when you try to go to /equipment/new
ActionView::TemplateError (equipment_url failed to generate from {:action=>"show", :controller=>"equipment"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["equipment", :id] - are they all satisfied?) on line #3 of app/views/ equipment/new.html.erb: 1: <h1>New equipment</h1> 2: 3: <% form_for(@equipment) do |f| %> 4: <%= f.error_messages %> 5: 6: <p>
(eval):16:in `equipment_path' app/views/equipment/new.html.erb:3 app/controllers/equipment_controller.rb:29:in `new' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'