braintree/braintree_ruby_examples — pull request #4 by bvsatyaram (2013-03-22 12:45:56+00:00)
Title: Resubmitting a form with error throws exception

When the payment info form is first submitted with an error and then again submitted, an exception `There was a problem with the authenticity token in your request. Please try again. If the problem persists, restart your browser.` is thrown.

This is because the transparent redirect is not loaded in case of error. The attached pull request fixes it.