I have the following link_to_remote code that calls the going method.
It works right but I want that after the call the name "Not going!"
changes to "I am going!". Whats the easiest way to do this? I have a
going.js.rjs file which is below.
<li><%= link_to_remote 'Not going!', :url =>
=> :put if current_user == @event.user %></li>