Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

railsfanatic's Profile

GitHub User: railsfanatic

Comments by


This is an awesome tutorial!

Firefox does not seem to clear the credit card number fields before submitting (even though name: nil on each one) as I discovered CC #'s in my logfiles!

So I modified my as follows:

  handleStripeResponse: (status, response) ->
    if status == 200
      # clear CC fields before submitting to Rails: