Displaying 2 results from an estimated 2 matches for "equipment_index".
2008 May 29
2
Resource routing error with the route equipment/new
I''m having an issue with resource routing after running a "ruby
script/generate scaffold equipment" command. I did not make any changes
to the equipment model/controller/views after running this.
The full command I ran (all one line) ...
ruby script/generate scaffold equipment
name:string description:text contact:text keywords:string
created_at:datetime created_by:integer
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
...erate 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?
Routes:
equipment_index GET /equipment
(.:format)
{:controller=>"equipment", :action=>"index"}
POST /equipment
(.:format)
{:controller=>"equipment", :action=>"create"}
new_equipment GET /equipment/new
(.:format)
{:controller=>&q...