I plowed in the chapters on railstutorial.org and used Rails 3.1.3 because I was crazy and / or wanted a challenge. I was able to easily find most version issues, but this question puzzled me a bit.
In 10.4.2, Michael Hartle uses the following code to delete users:
<%= link_to "delete", user, :method => :delete, :confirm => "You sure?", :title => "Delete #{user.name}" %>
This does not work properly if you test it in a browser (chrome) and send the user to this page instead.
It should work if you enabled this:
<%= javascript_include_tag :defaults %>
but it does not work with Rails 3.1 (it should work for Rails 3.0, though, as I heard).
source share