RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: tomtang539
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')
url = $('.pagination .next_page a').attr('href')
otherwise it doesn't pull the href attribute from the link.
Thanks for the tutorial!