Displaying 3 results from an estimated 3 matches for "equipment_url".
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
...But, when trying to evaluate "equipment/new" I get the error
below. I''ve included my routes (rake route). Equipment is one of those
words that pluralizes to "equipment", so the singular is right (from
what I know from this forum.
Any help would be appreciated.
Error:
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?...
2009 Oct 02
2
Plural version of the model detected, using singularized version. Override with --force-plural.
...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?)...
2008 May 29
2
Resource routing error with the route equipment/new
...The following routes work (I added ID#1 directly into the database) ...
/equipment
/equipment/1
/equipment/1/edit
The following route fails ...
/equipment/new
--
When going to /equipment/new ...
ActionController::RoutingError in Equipment#new
Showing equipment/new.html.erb where line #5 raised:
equipment_url failed to generate from {:controller=>"equipment",
:action=>"show"} - 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?...