Routes fails? hmm

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”?

David Z. 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
[email protected]

On Jul 12, 2010, at 12:56 PM, David Z. 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs