---
title: "Actionable tips to improve web performance with Rails"
publication: "Ruby Weekly"
issue: 400
published_at: "2018-05-24"
canonical_url: "https://rubyweekly.com/issues/400"
---

This week's Ruby news, issue 400       

#400 — May 24, 2018 

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

Ruby Weekly   

[Actionable Tips to Improve Web Performance with Rails](https://www.monterail.com/blog/actionable-tips-to-improve-web-performance-with-rails) — Based on a talk from Wroclove.rb, the tools and tricks listed here will result in better Rails and general Web performance. 

Radek Markiewicz   

▶[The Future of Rails 6: Scalable by Default](https://www.youtube.com/watch?v=8evXWvM4oXM) — Is Rails ‘Fisher Price infrastructure’ or can it scale? It can, but it’s not as easy as it should be _yet_. This talk looks at efforts being made to make Rails 6 the most scalable version ever. 

Eileen Uchitelle   [![\](https://copm.s3.amazonaws.com/a1960548.png)](https://try.digitalocean.com/cloud-hosting/?_dkitrig=Ruby&utm_source=paid_newsletter+ruby+weekly&utm_medium=display&utm_campaign=2018_Brand&utm_content=5-24-2018+ruby+weekly+cooperpress) 

[Ultra-fast Hosting for Ruby Apps with Predictable Pricing](https://try.digitalocean.com/cloud-hosting/?_dkitrig=Ruby&utm_source=paid_newsletter+ruby+weekly&utm_medium=display&utm_campaign=2018_Brand&utm_content=5-24-2018+ruby+weekly+cooperpress) — Spin up Ruby cloud servers with industry leading price-performance and predictable costs. Try DigitalOcean with a $100 credit. 

DigitalOcean sponsor   

[Pagy: The 'Ultimate' Pagination Ruby Gem](https://github.com/ddnexus/pagy) — Works with all Rack-based frameworks, is storage/ORM agnostic, and boasts that it [outperforms other similar libraries in benchmarks.](https://www.imaginarycloud.com/blog/paginating-ruby-on-rails-apps-with-pagy/) 

Domizio Demichelis   

▶[The RailsConf 2018 Closing Keynote by Aaron Patterson](https://www.youtube.com/watch?v=cBFuZivrdT0) — Videos from RailsConf 2018 are [continuing to be released](https://www.youtube.com/playlist?list=PLE7tQUdRKcyak-yFKj5IN3tDYOh5omMrH). We linked DHH’s opening keynote last week but now you can enjoy Aaron ‘tenderlove’ Patterson as he covers making Ruby faster, Unicode whitespace, tuning Ruby’s GC, and more. _(Note: Technical content starts around [10 minutes in](https://www.youtube.com/watch?v=cBFuZivrdT0#t=10m10s).)_ 

YouTube   

[Building an API Client Using the Builder Pattern](https://medium.com/rubyinside/building-a-creative-fun-api-client-in-ruby-a-builder-pattern-variation-f50613abd4c3) — Using immutability and a fluent interface can lead to an expressive API that is a joy to use. 

Eliav Lavi   

[The Performance Impact of Removing OOBGC at GitHub](https://githubengineering.com/removing-oobgc/) — _“Until last week, GitHub used an Out of Band Garbage Collector in production. Since removing it, we decreased CPU time across our production machines by 10%.”_ 

Aaron Patterson   

[Ryan Davis on Asking for Help for Contributing to Ruby](http://www.zenspider.com/ruby/2018/05/the-art-of-asking.html) — Ryan formed Seattle.rb, created minitest, ruby_parser, hoe, and more, and is exploring the idea of being supported in his efforts via Patreon. 

Ryan Davis   

[RubyGems 2.7.7 Released](https://blog.rubygems.org/2018/05/18/2.7.7-released.html) — It’s a very minor bugfix release. 

RubyGems Blog   

[The Moment Ruby Became 'Ruby'](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/88819) — A chat log from 25 years ago reveals all. 

Hiroshi Sugihara   

▶[Use Beautiful Binary Literals in Ruby](https://www.rubytapas.com/2018/05/22/beautiful-binary-literals/) — Avdi has made this (very first) episode of his Ruby Tapas series free. 

Avdi Grimm   

[Do We Need Dependency Injection in Ruby?](http://blog.testdouble.com/posts/2018-05-17-do-we-need-dependency-injection-in-ruby.html) — By way of a simple example. 

Kevin Baribeau  

💻 Jobs  

[Lead Full Stack Engineer](https://www.therealreal.com/careers/4CE9F124E3) — We're a fashion startup growing at break-neck speed looking for a Ruby and Elixir star to lead our stellar dev team. 

TheRealReal   

[Full Stack Engineer - Build Software That Save Lives](https://getridealong.com/about-us/#anchor-career) — Build software that makes police responses safer to 911 calls for those experiencing mental health issues, chemical dependencies, and homelessness. 

RideAlong   

[Ruby Expert? Sign Up for Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-24219) — Top companies use Vettery to find the best tech talent. Take a few minutes to join our platform. 

Vettery  

📘 Tutorials  

[Ruby 2.5 Added Lazy Proc Allocation for Block Parameters](https://blog.bigbinary.com/2018/05/22/ruby-2-5-added-lazy-proc-allocation-for-block-parameters.html) — This can mean faster performance with less memory. 

BigBinary Blog   

[Separating Data and Code in Rails Architecture](https://medium.com/root-engineering/separating-data-and-code-in-rails-architecture-3a031e17706b) — The importance of stateless code grows in importance compared to object-oriented principles as an application gets larger. 

Root Engineering   

[Securing Dependencies for Rails 5.2 Active Storage](https://blog.heroku.com/security-rails-active-storage) — How Heroku vetted the FFmpeg package by considering project response to issues and the ability to roll their own static binary. 

Heroku   

[eBook: Efficient Project Management for Small Engineering Teams](https://resources.codeship.com/ebooks/small-engineering-teams-efficient-project-management-aw?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-secondary&utm_campaign=small-engineering-teams) 

Codeship sponsor   

[Feature Tests vs. Integration Tests vs. Unit Tests](https://mixandgo.com/blog/feature-tests-vs-integration-tests-vs-unit-tests-in-ruby-and-rails) — A high-level Rails-centric explanation. 

Cezar Halmagean   

▶[Realtime SSH Logs with ActionCable](https://gorails.com/episodes/realtime-ssh-logs-with-actioncable) — Streaming realtime progress to the browser is easy with ActionCable. 

GoRails   

[Monitoring SSL Certificate Expiry with Ruby](https://www.reddit.com/r/ruby/comments/8kkbb7/monitoring_ssl_certificates_expiry_with_ruby/) — A little Ruby script to monitor sites and send notifications for expiring SSL certs. 

micketic  

🔧 Code & Tools  

[Introducing Stealth, a Framework for Conversational Voice and Chatbots](http://whoisblackops.com/articles/introducing-stealth) — Stealth pulls in many concepts from Rails and is deployable anywhere. 

Black Ops   

[Real-Time Ruby Performance Metrics and Request Traces](https://www.datadoghq.com/dg/apm/ruby-tracing/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyS) — Get full-stack monitoring and alerting for Ruby apps and 200+ infrastructure integrations. [Try Datadog free](https://www.datadoghq.com/dg/apm/ruby-tracing/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyS). 

Datadog sponsor   

[Rails DB: Rails Database Viewer and SQL Query Runner](https://github.com/igorkasyanchuk/rails_db) 

Igor Kasyanchuk   

[SimpleForm: Forms Made Easy for Rails](https://github.com/plataformatec/simple_form) — Aims for flexibility so you can lay out a form exactly as you like. Uses a DSL inherited from Formtastic. 

Plataformatec   

[RoleCore: A Rails Engine Providing Role-Based Access Control](https://github.com/rails-engine/role_core) — Formerly known as `rbac_core` 

Rails Engine         

Curated by [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
