Forum: Ruby on Rails Ajax.InPlaceEditor & REST

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1df9fc8ddf084661265bbae74a8d0b43?d=identicon&s=25 jko170 (Guest)
on 2007-03-08 21:24
(Received via mailing list)
I cannot for the life of me get this to work:
<% @ranks.each do |rank| %>
               <th><%= rank.number %></th>
               <td><span id="edit_#{rank.rank}"><%= rank.rank %></
               <%= javascript_tag "new
'#{rank_url(rank)}', {ajaxOptions:{method:'put'}});" %>

               <td><%= link_to 'X', rank_path(rank), :confirm => 'Are
sure?', :method => :delete %></td>
<% 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.)
1df9fc8ddf084661265bbae74a8d0b43?d=identicon&s=25 jko170 (Guest)
on 2007-03-09 03:04
(Received via mailing list)
Anyone else having problems with Ajax.InPlaceEditor & REST?
This topic is locked and can not be replied to.