I have a link_to_remote that should call a function in controller that
updates the page using rjs.
The links are not hitting the controller. I click on the link and
nothing
happens in the log file. I suspect it is something small and silly in my
syntax.
I would appreciate if someone could glance over the code and see if they
can
spot it - here it is:
Please check if you included the appropriate public/javascripts(/
prototype) files in your view …
Add this line in the view:
<%= javascript_include_tag :defaults %>
It is a good idea to put this line in the layout file (/app/views/
layout/application.rhtml), so that all the javascripts would be
available in all the views…