Rails 3.1 and Unobtrusive Javascript Tutorial tl:dr; This demonstrates the ability to delete inline elements via an AJAX post. On the "posts" url This is the code for the Rails Tutorial on the web tutorial located here. Rails Tutorial There are quite a few errors in it and this is a working version.