Recommended library for multithreaded ruby environment followup

Justin_Stern1
Excursionist
70 0 14

This is intended to be a followup of this closed topic https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/recommended-library-for-multithreaded-...

@Peter, if you're still out there: It doesn't look like there's been any traction on the activeresource core PR https://github.com/rails/activeresource/pull/120 and I think at the moment those of us using the threadsafe version of the Shopify API are stuck on Rails 4.1.  I know we can only do so much about the activeresource project, but any plans to update your threadsafe branch to track the latest release of activeresource so that rails can be updated to 4.2?  

Thanks for any info!

Product Customizer - Creating extremely customizable products within Shopify is no longer a hassle! BlogFeeder - Automatically pull updates from any RSS feed into your Shopify blog Happy Ending - Personalize your thank you page
Replies 5 (5)
PeterMcCracken
Shopify Staff (Retired)
Shopify Staff (Retired)
72 0 11

@Justin,

Sorry for the late reply; I didn't see this until you linked it it from your github post.

Yes, I definitely plan to upgrade my threadsafe branch so it works with Rails 4.2. I'm still actively using it in multiple Rails 4.1 projects; I just haven't attempted to upgrade any of them to 4.2 yet so I haven't run into the issue myself.

If you get a chance, you could attempt to do the rebase yourself and open a pull request. Otherwise, I'll try to take a look sometime this month.

Cheers,

-Peter

Peter | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Justin_Stern1
Excursionist
70 0 14

Sorry for the late reply; I didn't see this until you linked it it from your github post

No worries!  I know there's no real user mentions over here like in github unfortunately, not to mention there's a lot of chatter always going on

Yes, I definitely plan to upgrade my threadsafe branch so it works with Rails 4.2. I'm still actively using it in multiple Rails 4.1 projects; I just haven't attempted to upgrade any of them to 4.2 yet so I haven't run into the issue myself.

Cool, makes sense

If you get a chance, you could attempt to do the rebase yourself and open a pull request. Otherwise, I'll try to take a look sometime this month.

Sure thing, I'll make an attempt at this today or tomorrow and report back.  Thanks again as always!

Justin

Product Customizer - Creating extremely customizable products within Shopify is no longer a hassle! BlogFeeder - Automatically pull updates from any RSS feed into your Shopify blog Happy Ending - Personalize your thank you page
Nick70
Shopify Partner
16 0 0

I'm using the threadsafe branch without issues using Rails 4.2.

PeterMcCracken
Shopify Staff (Retired)
Shopify Staff (Retired)
72 0 11

@Justin - we've updated our ActiveResource fork to work with Rails 4.2. Rather than tracking the branch (which was always a dubious thing for us to have recommended), you should now track the ActiveResource tag: https://github.com/Shopify/activeresource/releases/tag/4.2-threadsafe

Our plan, as long as this hasn't been merged upstream into ActiveResource, is to rebase a new tag on top of the latest ActiveResource upstream, whenever there's a major bump in Rails version.

Peter | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Justin_Stern1
Excursionist
70 0 14

Hey Peter, thanks so much, I've been following the action on github, and I love the solution.  Thanks to you and the rest of the guys for taking the time to get this together.  Now if only ActiveResource would get their act together... ha ha

Product Customizer - Creating extremely customizable products within Shopify is no longer a hassle! BlogFeeder - Automatically pull updates from any RSS feed into your Shopify blog Happy Ending - Personalize your thank you page