Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

tomtang539's Profile

GitHub User: tomtang539

Comments by

Avatar

Great tutorial. I couldn't get it to work until I changed line 4 in products.js.coffee from

url = $('.pagination .next_page').attr('href')

to

url = $('.pagination .next_page a').attr('href')

otherwise it doesn't pull the href attribute from the link.
Thanks for the tutorial!