Comments (4)
Thanks for letting us know about this, we'll pull down your code and take a look. We'll keep you update as we look into pulling this code into the library.
from braintree_ruby.
Thanks for the code. Unfortunately, autoload has thread safety issues (http://redmine.ruby-lang.org/issues/show/921). Do you know of any ways to work around this for ruby 1.8?
from braintree_ruby.
It seems like quite hard to do right.
I guess we have two choices here:
- you can just close referenced pull-request for now. Perhaps someone would fix thread safety later
- you can push this as a separate branch for those who really need autoloading and don't really need thread safety
from braintree_ruby.
Since filing this, I've worked around it by adding 'reqiure: false' in the Gemfile, and requiring braintree manually in an autoloaded class. Also, spork and ruby 1.9.3 are reducing my concern for Gems that slow bootup times. The thread issue probably never occurs in the real world.
from braintree_ruby.
Related Issues (20)
- Report
- Use a generic HTTP library like Faraday HOT 2
- Wrong error code constants HOT 3
- LoadError: cannot load such file -- rexml/document in Ruby 3.0.1 HOT 2
- I don't access some fields in transaction.paypal_details HOT 1
- Don't log timestamp twice HOT 2
- Add customer_id to Subscription fields HOT 2
- The client does not handle uncompressed http response HOT 3
- Raised "expected :plan or :errors" exception when trying to create a new plan with missing mandatory fields HOT 3
- Braintree::ConfigurationError when testing LocalPayment Webhooks HOT 1
- Braintree::OAuthGateway#revoke_access_token ErrorResult is used in an invalid way HOT 2
- Apple Pay Card does not expose Cardholder Name HOT 3
- Possible ReDos in the AddressGateway class HOT 3
- Create transaction returns 422 in logs but no errors HOT 2
- payment_receipt and global_id attributes not accessible HOT 5
- The braintree_ruby 3.4.x incompatibility with libxml-ruby 5.x HOT 3
- Customer `payment_methods` fails because `@sepa_sepa_direct_debit_accounts` HOT 1
- Billing address not working for Google pay card
- Feature Request: Convert Braintree::Transaction to hash with all response fields
- Men's & Women's clothing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree_ruby.