Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

gitsetgo's Profile

GitHub User: gitsetgo

Comments by

Avatar

make sure you pass "method: :delete" in your view and have jQuery.

ruby
<%= link_to 'Destroy', model_path(object), method: :delete,
        :confirm => 'Delete Model? Are you sure?' %>
Avatar

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).