RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: gitsetgo
make sure you pass "method: :delete" in your view and have jQuery.
<%= link_to 'Destroy', model_path(object), method: :delete,
:confirm => 'Delete Model? Are you sure?' %>
I like endless scrolling except for one gotcha - it makes it very hard for users to access links on the page footer. One way to work around this is to use the jQuery Waypoints plugin to ensure that the footer is always displayed (despite the endless scrolling).