I''m getting: rate_vendor_hardware_url failed to generate from {:vendor_id=>#<Hardware id: 6, name: "this is the hardware name", version: "this is the version", ETC ETC What is usually wrong when i recieve "_url failed to generate"? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
David Zhu wrote:> I''m getting: > > rate_vendor_hardware_url failed to generate from > {:vendor_id=>#<Hardware id: 6, name: "this is the hardware name", > version: "this is the version", ETC ETC > > What is usually wrong when i recieve "_url failed to generate"?You''re not providing the right parameters to generate the URL. To determine what the right parameters are, check routes.rb . Best, -- Marnen Laibow-Koser http;//www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jul 12, 2010, at 12:56 PM, David Zhu wrote:> I''m getting: > > rate_vendor_hardware_url failed to generate from > {:vendor_id=>#<Hardware id: 6, name: "this is the hardware name", > version: "this is the version", ETC ETC > > What is usually wrong when i recieve "_url failed to generate"?Without seeing the route definition or the rest of the ''ETC ETC'' it''s impossible to say. Typically that error will tell you waht it received, what it expected, and the difference. Provide more details and how you''re calling it perhaps we can help. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.