Hello
I have included prototype in my Applications rhtml file
<%= javascript_include_tag "prototype" %> FLYPRO <%= stylesheet_link_tag 'flypro' %>I call link_to_remote in a page as follows
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
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