Link_to_remote() question from a newbie


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

<%= link_to_remote(,
:update => ‘mydiv’,
:url => { :controller => ‘attributes’,
:action => :list_user_attributes,
:class_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:


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

Thanks in advance,


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