I am trying to implement the depot sample application of "Agile
programming with rails", everrithing goes good until came to AJAX
stuff,
When I changed the button_to for submit_tag I have no HTML code
generated for invoking the action using AJAX, I read the
troubleshooting section and everything is OK, any Idea of what could be
happening?
The code in index.rhml is
<% form_remote_tag :url => {:action => :add_to_cart, :id => product
} do %>
<%= submit_tag "Add to Cart" %>
<% end %>
and the resulting form has nothing, just a couple of blank lines in the
place that should show the button.