RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jdell64
Also, you need to bind to the parent. Mine (coffee script):
$('#products').on 'click', '.pagination a', ->
Update for anyone watching this, use these updates in purchase.rb:
credit_card = ActiveMerchant::Billing::CreditCard.new(
:brand => "visa",
I had a similar issue. I got it all stood up but had an index error.
I had to do something like:
rake environment tire:import CLASS='Article'
to re-index (or just index for the first time) everything in the db.
I also agree!
Those trying to do this in modern-times:
I found that you need to make sure your multi_json gem is version 1.7.8 or earlier.