I’ve applied ujs in rails 2.3.8 (I followed http://andrewcox.org/post/507032751/rails-3-0-unobtrusive-ajax-in-rails-2-3-x) and the controller, when answering the ajax call, seems to render show.html.haml, not show.js.erb. What can I do to make the ajax call be seen as a “remote” call? Take a look at lines 13-19.
I've applied ujs in rails 2.3.8 (I followed
http://andrewcox.org/post/507032751/rails-3-0-unobtrusive-ajax-in-rails-2-3-x)
and the controller, when answering the ajax call, seems to render
show.html.haml, not show.js.erb. What can I do to make the ajax call be
seen
as a "remote" call? Take a look at lines 13-19.