#536 — January 21, 2021 |
💡 One of the most popular recurring features we've added to our sister Postgres Weekly newsletter has been a 'tip of the week.' We've been looking to begin this in Ruby Weekly too, and thanks to the hard work of Jemma Issroff we've got out first one this week. Don't miss it at the end of this issue :-) |
Ruby Weekly |
How Fast is Ruby 3 on Rails? — The king of running Ruby and Rails benchmarks is back with a look at how Ruby 3 handles Rails from a performance point of view. Spoilers: The final release of Ruby 3.0 is more stable under load than preview1 and the overall performance is not dissimilar to that under 2.7. Noah Gibbs |
▶ DHH Talks Hotwire, Rails Next and the 'DHH Stack' — Whatever David Heinemeier Hansson (DHH) does is of natural interest to Rails developers and many Ruby developers too, so it’s nice to hear him chat at length on his current attitudes to things including Hotwire, ‘Rails 7’, and how he starts new projects. Remote Ruby Podcast podcast |
Free eBook: Efficient Search in Rails with Postgres — Speed up a search query from seconds to milliseconds and learn about exact matches, trigrams, ILIKE, and full-text search. pganalyze sponsor |
IRB’s New Built-In Time Measuring Command — Ruby 3.0 added Jemma Issroff |
An Unusual Performance Optimization — The creator of HexaPDF goes deep to find the root of a performance issue with different fonts. Thomas Leitner |
RubyGems 3.2.6 Released — A small bug fix release. Update in most cases with RubyGems Blog |
📘 Articles & Tutorials |
Testing Objects with a Functional Mindset — Some functional programming ideas could help improve the unit tests for your object-oriented code. Joël Quenneville |
▶ Chatting with a Rails Core Team 'Heavy Hitter' — Rafael França is a Principal Engineer at Shopify, Rails core team member, and has the most commits to the Rails codebase to his name (with even more than DHH). On this podcast he discussed how the Rails 6.1 release went and drops some hints about Rails 7. Ruby on Rails Podcast podcast |
A Better React/Rails Architecture — Spoiler: It’s about modularizing to allow each framework to fill its intended purpose in its intended manner. Stitch Fix Technology |
The Rails Upgrade Series — The guides go all the way back to 2.3 (I’d love to see usage statistics on the older guides) and up to 6.0, so if you need to upgrade for any version, check it out. FastRuby.io |
Rails 6.1 Adds Support for Siddharth Shringi |
Clubhouse.io - Cheerful, Collaborative Project Management Clubhouse.io sponsor |
Gradual Automation in Ruby — Writing code that tells people what to do, without actually doing it. Tomasz Wróbel |
▶ How to Use Devise with Hotwire and Turbo.js — Hotwire’s Turbo library intercepts forms automatically so Devise needs a few tweaks to work with it. Go Rails |
How to Use Mixins and Modules in Your Ruby Apps
|
When to Use Factory Bot's Traits Versus Nested Factories
|
Rails 6.1 Allows Per Environment Configuration Support for Active Storage
|
🛠 Code and Tools |
TTY::ProgressBar — Display Progress Bars in the Terminal — A very flexible control you can customize and twist to whatever ends you want. You can also display multiple progress bars at once. Piotr Murach |
RouteTranslator 10.0: Translate Your Rails App Routes to Various Languages — Manage the translations of your app routes with a simple dictionary format. Works with Rails 5 and 6. Enric Lluelles |
Seamlessly Integrate Video into Your Ruby App — Integrating seamlessly into your mobile app's UI, Mux Video is an API-first platform that makes it easy to build beautiful video that streams on any device. Mux sponsor |
Thor 1.1: A Toolkit for Building Powerful Command-Line Interfaces — It hasn’t had a release in over a year but now supports Ruby 3.0. Erikhuda |
Loofah 2.9.0: Nokogiri-Powered HTML/XML Manipulation and Sanitization Mike Dalessio |
Derailed Benchmarks 2.0.0: Benchmarks for Your Whole Rails App — “A series of things you can use to benchmark a Rails or Ruby app.” Richard Schneeman |
A Forward Proxy in 100 Lines of Code using Standard Libraries Only James Moriarty |
💻 Jobs |
Senior Software Engineer at Loomly (Remote) — Loomly is the Brand Success Platform that helps marketing teams streamline online collaboration. We’re looking for a Senior Software Engineer to contribute to building our core product and help with ongoing maintenance. Loomly |
Experienced Ruby Developer (Rotterdam, Netherlands) — Join the #1 impact-investing crowdfunding platform in NL. Your code helps create sustainable jobs, install solar panels and more. Lendahand |
Find a Job Through Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. Hired |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here. |
|