Upgrading Shopify to Rails 5 by @ShopifyEng (a sweet case study)

Upgrading Shopify to Rails 5 by @ShopifyEng (a sweet case study)

In a case of a small app, you can do the Rails upgrade in a branch, create a PR and merge it as soon as it's ready. But at Shopify we have hundreds of developers working in the same repo, merging more than 100 pull requests per day. The only way was to perform the Rails upgrade in the master branch step by step, preserving compatibility with Rails 4.2. We made a contract that the app should be bootable on both Rails versions, allowing some tests to fail on Rails 5. We set up “dual” Gemfile, and had a Gemfile.lock file per each Rails version:

Full article: https://shopifyengineering.myshopify.com/blogs/engineerin...

Tweets

#bitcoin 5

bitcoin.tinvest.info 08 Jul '17, 6pm

ИП Меркулов Андрей Александрович (prodavecokon.ru, biznesfabrika.ru, webturbina.ru, guruopta.ru)

#ruby #rubyonrails

rubyflow.com 04 Jul '17, 5pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Meet Rails 5: Tour The New Rails Generator

rubyflow.com 02 Jul '17, 12pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

PSA: Upgrade to Rails 5+

reddit.com 28 Jun '17, 8am

Disclaimer: I'm not on the Rails core team & not speaking on behalf of it. I've recently realised that some of my Rubyists...

Did a high-level blog post on "Upgrading a Larg...

grant-ps.blog 03 Jul '17, 2pm

These phased steps can be used to upgrade large rails application for minor/major rails releases in more manageable pieces...

.@shopifyeng - Boot large ruby/rails apps faster, by Shopify

.@shopifyeng - Boot large ruby/rails apps faste...

stackshare.io 10 Jul '17, 8pm

Bootsnap is a library that plugs into a number of Ruby and (optionally) ActiveSupport and YAML methods to optimize and cac...

You're Good Enough To Build Practical Rails 5 a...

rubyflow.com 30 Jun '17, 12pm

You're Good Enough To Build Practical Rails 5 and Ruby Apps by ABRA KPOE — Yesterday If you’re really serious about “model...

London Upgrading Around 5,000 Buses To Meet Euro VI Emissions Standards

London Upgrading Around 5,000 Buses To Meet Eur...

cleantechnica.com 30 Jun '17, 6pm

And the Mayor of London, Sadiq Khan, commented: “We know that pollution from our roads is a major contributor to London’s ...

Create a Simple Ruby on Rails 5 REST API From S...

screencasts.tech 30 Jun '17, 7pm

Learn how to create a very simple REST API from scratch using Ruby on Rails 5. Author: @traversymedia Website: http://www....