Link_to_remote() question from a newbie

Hello,

I am trying to utilize link_to_remote() in the following manner:

<%= link_to_remote(exchange.name,
:update => ‘mydiv’,
:url => { :controller => ‘attributes’,
:action => :list_user_attributes,
:class_id => class.id,
:user_id => user.id
} ) %>

And I would like it to output the html like so:

But instead, the second parameter in Ajax.Updater has its ampersand
converted to “&” as in:

‘/attributes/list_user_attributes?class_id=1&user_id=2’,

Is there a way to avoid this using link_to_remote or can you recommend
an alternative to link_to_remote?

Thanks in advance,

-Al

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