Permalink
Browse files

Merge pull request #118 from Shopify/fix_readme_typo

Fixing README formatting
  • Loading branch information...
2 parents f23c14b + 2a7db3a commit 2567ed0831a797a050711015b0446d01bd96e940 @peterjm peterjm committed Feb 24, 2014
Showing with 4 additions and 6 deletions.
  1. +4 −6 README.rdoc
View
10 README.rdoc
@@ -141,19 +141,17 @@ This package also includes the +shopify+ executable to make it easy to open up a
== Threadsafety
-ActiveResource is inherently non-threadsafe, because class variables like `ActiveResource::Base.site` and
-`ActiveResource::Base.headers` are shared between threads. This can cause conflicts when using
+ActiveResource is inherently non-threadsafe, because class variables like ActiveResource::Base.site
+and ActiveResource::Base.headers are shared between threads. This can cause conflicts when using
threaded libraries, like Sidekiq.
We have a forked version of ActiveResource that stores these class variables in threadlocal
variables. Using this forked version will allow ShopifyAPI to be used in a threaded environment.
To enable threadsafety with ShopifyAPI, add the following to your Gemfile:
-```
-gem 'activeresource', :git => 'git://github.com/Shopify/activeresource', :ref => 'e9dc76b4aa'
-gem 'shopify_api', '>= 3.3.0'
-```
+ gem 'activeresource', git: 'git://github.com/Shopify/activeresource', branch: 'threadsafe'
+ gem 'shopify_api', '>= 3.2.1'
== Using Development Version

0 comments on commit 2567ed0

Please sign in to comment.