---
title: "It's time to upgrade those Ruby 2.4 apps"
publication: "Ruby Weekly"
issue: 497
published_at: "2020-04-16"
canonical_url: "https://rubyweekly.com/issues/497"
---

This week's Ruby news, views, and libraries.       

#497 — April 16, 2020 

[Read on the Web](https://rubyweekly.com/issues/497)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/paiui57vycki4kkgiinf.jpg)](https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/)   

[Bye Bye Ruby 2.4, Support Has Ended](https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/) — From the end of April 2019 till now, Ruby 2.4 has been in its ‘security maintenance’ phase but now you won’t even get that, [Ruby 2.4.10](https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-4-10-released/) should be the final 2.4 release. 2.5 will follow in 2.4’s footsteps next year, so upgrading to 2.6 or 2.7 should now be a priority for those older apps. 

Ruby Core Team   

[Testing Ruby Decorators with `super_method`](https://nebulab.it/blog/testing-decorators-with-super-method/) — Have you ever wondered how you can properly test the behavior of a method overridden by `Module#prepend`? Enter `super_method` which returns a `Method` object of which superclass method would be called when `super` is used or `nil` if none exists. 

Simone Bravo   [![\](https://copm.s3.amazonaws.com/98561ab1.png)](https://fusionauth.io/?utm_source=newsletter&utm_medium=email&utm_campaign=cooperpress_2020) 

[You Hacked the Gibson? Yeah, They Built Their Own Login](https://fusionauth.io/?utm_source=newsletter&utm_medium=email&utm_campaign=cooperpress_2020) — Don't let Crash Override pwn your app. FusionAuth adds secure login, registration and user management to your app in minutes not months. Download our community edition for free. 

FusionAuth sponsor   

[Heya: A Sequence Mailer for Rails](https://www.heya.email/) — “Think of it like ActionMailer, but for timed email sequences.” _Note: It’s open source but not free for commercial use beyond a certain point._ 

Honeybadger Industries LLC   

[A Final Report on Ruby Concurrency Developments](https://www.codeotaku.com/journal/2020-04/ruby-concurrency-final-report/index) — A report on work funded by a 2019 Ruby Association Grant that puts forth a proposal of using non-blocking fibers to improve Ruby’s concurrency story. 

Samuel Williams   

[Mocking in Ruby with Minitest](https://semaphoreci.com/community/tutorials/mocking-in-ruby-with-minitest) — Minitest has basic mocking functionality baked in, but be judicious in your use of it. 

Heidar Bernhardsson  

💻 Jobs  

[Ruby Backend Developer (Austria)](https://www.runtastic.com/career/job/?job=341627&no-cache=1) — We’re seeking mid-level and senior devs to join us and build top-class backend infrastructure for our adidas apps, used by millions. Our stack includes: jRuby, Sinatra, Sidekiq, MySQL, & MongoDB. 

Runtastic   

[Find a Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77583) — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. 

Vettery   

▶️ Get ready for your next role: **[Pluralsight is free for the entire month of April.](https://go.pluralsight.com/C0085962)** Stay Home. Skill Up. _#FreeApril_ —SPONSORED 

📘 Articles & Tutorials  

[Predicting the Future With Linear Regression in Ruby](https://www.honeybadger.io/blog/ruby-linear-regression/) — Linear regression is a mathematical approach to modelling a relationship between multiple variables and is demonstrated here by exploring whether the tempo of a song predicts its popularity on Spotify. 

Julie Kent   

[Feature Flags: A Simple Way to 'De-Stress' Production Releases](https://boringrails.com/articles/feature-flags-simplest-thing-that-could-work/) — Feature flags bridge a gap between the abstract concept of continuous delivery and tactical release of features. 

Matt Swanson   

[A Guide to Deprecation Warnings in Rails](https://www.fastruby.io/blog/rails/upgrades/deprecation-warnings-rails-guide.html) — If you’ve upgraded Rails and you start seeing warnings screaming at you, you can either get Googling or.. read this 😄 

Luciano Becerra   

[What's the Difference Between Monitoring Webhooks and Background Jobs](https://blog.appsignal.com/2020/03/25/whats-the-difference-between-monitoring-webhooks-and-background-jobs.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=monitoring-webhooks-and-background-jobs&utm_content=brief-link) 

AppSignal sponsor   

[Understanding `webpacker.yml`](https://rossta.net/blog/how-to-use-webpacker-yml.html) — Have you ever really gone through the Webpack config? 

Ross Kaffenberger   

[Using Optimizer Hints in Rails](https://blog.saeloun.com/2020/04/14/using-optimizer-hints-in-rails-6.html) — Rails 6 removes the need to write raw SQL to use optimizer hints, so that’s cool. 

Prateek Choudhary   

[Dissecting Rails Migrations](https://blog.appsignal.com/2020/04/14/dissecting-rails-migrationsl.html) — You should pick up something new about migrations by reading this article as it covers all of the essentials and a little more. 

Prathamesh Sonpatki   

[The Basics of Custom Exception Handling](https://blog.bearer.sh/handle-ruby-exceptions/) — Never hurts to revise the basics of effective exceptions. 

Mark Michon   

[How to Improve Code Readability with Closures](https://railsguides.net/improve-code-readability-with-closures-in-ruby/) 

Andrey Koleshko  

🛠 Code and Tools  

[ruby-prolog: A Pure Ruby Prolog-like DSL for Logical Programming](https://github.com/preston/ruby-prolog) — Solve complex logic problems on the fly using a dynamic, Prolog-like DSL inline with your normal code. 

Preston Lee   

[Anyway Config: Keep Your Ruby Configuration Sensible](https://evilmartians.com/chronicles/anyway-config-keep-your-ruby-configuration-sane) — Get your Ruby project out of ‘ENV Hell’ with `anyway_config`, a framework for managing configuration. 

Vladimir Dementyev   

[The End of Heroku Alerts](https://railsautoscale.com/heroku-alerts) — Rails Autoscale keeps your app healthy. Simple and effective autoscaling for Web, Sidekiq, Delayed Job, and Que. 

Rails Autoscale sponsor   

[Tomo 1.0: A Friendly CLI for Deploying Rails Apps](https://github.com/mattbrictson/tomo) — There’s [a short tutorial](https://tomo-deploy.com/tutorials/deploying-rails-from-scratch/) for deploying Rails, and the documentation is thorough. 

Matt Brictson   

[ActiveLdap 6.0: An Object Oriented Interface to LDAP](https://github.com/activeldap/activeldap) — A very long standing project (16 years!) that has just had an update. LDAP stands for Lightweight Directory Access Protocol and while I don’t hear about it much anymore, it has plenty of established use cases. 

Sutou Kouhei   

[Elasticsearch Integrations for ActiveModel/Record and Rails](https://github.com/elastic/elasticsearch-rails) 

Elastic   

[RubyMine 2020.1 Released](https://blog.jetbrains.com/ruby/2020/04/rubymine-2020-1-released/) 

Natalie Kudanova         

Curated by [Glenn Goodrich](https://twitter.com/ruprict) and [Cooperpress](https://cooperpress.com/). 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
