Ajax.InPlaceEditor & REST

I cannot for the life of me get this to work:
<% @ranks.each do |rank| %>

<%= rank.number %>
<%= rank.rank %></

<%= javascript_tag “new
‘#{rank_url(rank)}’, {ajaxOptions:{method:‘put’}});” %>
           <td><%= link_to 'X', rank_path(rank), :confirm => 'Are

sure?’, :method => :delete %>

<% end %>

I don’t see what is causing the problem. I click on the text and
nothing happens. Any suggestions? (I have the javascript_tag included
in the head section.)

Anyone else having problems with Ajax.InPlaceEditor & REST?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs