Forum: Ruby on Rails I can't get to work css class with link_to_remote function

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B192011964906cffb106241f99cb4c3f?d=identicon&s=25 Rodrigo Dominguez (rdominguez)
on 2006-03-29 17:58
(Received via mailing list)
What am I doing wrong?

This is the code



<%= link_to_remote "Mi Cuenta", :update => "MainSpace", :url =>
{:controller => "account", :action => "login"}, :class =>
"menu_link_superior" %>



This is the result



<a href="#" onclick="new Ajax.Updater('MainSpace', '/account/login',
{asynchronous:true, evalScripts:true}); return false;">Mi Cuenta</a>



but I'm expecting this:



<a href="#" class="menu_link_superior" onclick="new
Ajax.Updater('MainSpace', '/account/login', {asynchronous:true,
evalScripts:true}); return false;">Mi Cuenta</a>

Thank you







Rodrigo Dominguez



Iplan Networks                Datos Personales

rdominguez@iplan.com.ar       rorra@rorra.com.ar

www.iplan.com.ar <http://www.iplan.com.ar/>
www.rorra.com.ar <http://www.rorra.com.ar/>

5031-6303                     15-5695-6027
This topic is locked and can not be replied to.