Problems with URL encoding


I have a problem when sending parameters from link_to_remote. My link

<%= link_to_remote “Remove”,
:url => object_relation_path(
:id => 0,
:object_relation => {
:parent_id =>,
:parent_type => “Product”,
:child_id =>,
:child_type => “ContentObject”,
:relation_type_id => 1000
:format => :partial,
:response_template => “products/#{@product.product_type}/show/
:update => “related_content_wrapper”,
:method => :delete %>

I think this is a correct setting and Firebug shows a correctly
encoded query string. But what I get is the following:


In other words, I get the encoded “amp;” as part of the params hash
key. Does anyone have any input or solution to this?

Many thanks in advance

Kindest regards

Erik L.

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