Hello I have included prototype in my Applications rhtml file <head> <%= javascript_include_tag "prototype" %> <title>FLYPRO </title> <%= stylesheet_link_tag ''flypro'' %> </head> I call link_to_remote in a page as follows <div id="flypro-list"> </div> <%= link_to_remote("Do Something", :update => ''flypro-list'', :url => { :action => :list})%> But when I hit the Link I get undefined method `link_to_remote'' for #<#<Class:0x3706090>:0x3706054 The translated page viewed as source, has translated link_to_remote into <a href="#" onclick="new Ajax.Updater(''flypro-list'', ''/flypro/list'', {asynchronous:true, evalScripts:true}); return false;">Do Something</ a> This looks OK, so I don''t understand why I get undefined method error on "periodcally_call_remote", when it should be hooking up to Ajax.updater, which does exist in prototype ? prototype does exist under the public/javascripts folder. Am I using the wrong prototype.js ? I cannot find any ''link_to_remote'' functions in prototype.js, so where is it defined ? Any help appreciated Thanks Julian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---