Displaying 7 results from an estimated 7 matches for "content_url".
2007 Jun 28
2
form_tag routing error in >= 1.2.2 ?
...in Rails 1.2.1:
<% form_tag(feedback_path) do -%>
But in Rails 1.2.2 and 1.2.3 I get:
feedback_url failed to generate from {:action=>"show",
:controller=>"feedback"} - you may have ambiguous routes, or you may
need to supply additional parameters for this route. content_url has
the following required parameters: ["feedback", :id] - are they all
satisifed?
Any idea why?
Thanks!!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ru...
2009 Oct 02
2
Plural version of the model detected, using singularized version. Override with --force-plural.
...sults 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...
2008 May 29
2
Resource routing error with the route equipment/new
...ontroller::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?
Extracted source (around line #5):
2:
3: <%= error_messages_for :equipment %>
4:
5: <% form_for(@equipment) do |f| %>
6: <p>
7: <b>Name</b><br />
8: <%= f....
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
...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?
Routes:
equipment_index GET /equipment
(.:format)
{:controller=>"equipment", :action=>"index"}
POST /equipment
(.:format)
{:controller=>"...
2007 Aug 08
25
Problems with RESTfully generated helpers
I am using helper the RESTfully generated helper methods in my views.
My routes are nested so the helpers appear to need arguments passed to
them, but it works without arguments. Say for example I have pages and
comments. If I do page_comments_path without parameters, it works.
However, when I run the rspec test, it fails and tells me i''m missing
parameters. I tried to pass
2013 Mar 07
2
Puppet Dashboard changed reports view error
...}
Rendering template within layouts/application
Rendering reports/index
ActionView::TemplateError (node_url failed to generate from
{:controller=>"nodes", :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: ["nodes", :id] - are
they all satisfied?) on line #35 of
app/views/reports/_reports_table.html.haml:
32: %td= link_to h(report.time), report
33: - unless node
34: %td= link_to_if report.node, h(report.host),
node_pa...
2008 May 28
3
Newbie: Searcing database via user form input?
Does anyone have a tutorial on adding new parameters to the paramaters
list and then creating find conditions around them?
I''m wondering how I can get my index page to list only the items where
some of the the databases fields match user form input. index.html.erb
would be calling itself with a new parameter :searchdata
So far the index.html.erb has...
<% form_tag({ :action =>