๐Ÿซถ Short Ruby News - Edition #25

Briefly about everything happening in Ruby world - 2023 week 2

You can jump directly to one of the following sections if you like:

๐Ÿ‘ Our Community

More content: ๐ŸŽฅ ๐ŸŽง ๐Ÿ—ž (articles, podcasts, videos, slides, and newsletters)

If you want to read also the edition that covers the 2022 Winter holiday, I published it on the web but did not send it via email as it was too big:

๐Ÿ‘ Our Community

๐Ÿ‘ Yukihiro Matz invited people to share what Ruby is for them:

Here is a selection from the replies that Matz retweeted:

  • โ€œMakes me happyโ€ (@rahulballal7)

  • โ€œ... makes you fall in love with programming!โค๏ธ Thank you Matz !!!โ€ (@ankurvyas27)

  • โ€œPay the bills. Kudos to you ๐Ÿ’Žโ€ (@MarcelMonfort)

  • โ€œ..is either a really fun programming language even for serious work. ...or is a fantastic song by the Kaiser chiefs.โ€ (@onghu)

  • โ€œis memory hog with no type safety. I love coding in ruby though.โ€ (@smshuja)

  • โ€œlove and hate relationship with Ruby. but it the end, it paid my bills. love your work, thank you.โ€ (@tegarlaga)

  • โ€œRuby completely changed by life in highschool Programming finally felt accessible and Ruby laid the foundation of my engineering career and my time at startups and building products Thank you for your incredible workโ€ (@ian_dot_so)

๐Ÿ‘ I asked on Ruby.social, Twitter and r/ruby:

Here are some of the answers:

Some are personal newsletters, some are just blogs, some are in English, and some are in other languages, but they are worth checking.

๐Ÿ‘ Ryan shared a new project they are working on Rails + Hotwire Jobs:

๐Ÿ‘ Adrian Marin asked who is learning Ruby:

And I am happy to see people learning Ruby. Please read the thread, and follow them, and try to help them when they ask for help.

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰ Xavier Noria shared that Zeitwerk surpassed 200 million downloads:

๐Ÿ‘‰ Avdi Grimm shared a pice of code that shows Ruby flexibility and brevity:

๐Ÿ‘‰ Cory Hutchison shared a take about static typing in Ruby:

You can read the original thread on Reddit here, and it is worth going through it if you think about developer experience in your project.

๐Ÿ‘‰ Mike Perham shared a benchmark of running Sidekiq 7.0.3 on Ruby 3.2:

๐Ÿ‘‰ Greg Navis shared code samples showing how various ways to benchmark Ruby code:

๐Ÿ‘‰ Josef Strzibny shared how to configure Puma workers:

๐Ÿ‘‰ Kevin Newton shared how the not keyword works in Ruby:

๐Ÿ‘‰ Greg Navis shared a PostgreSQL-Rails problem:

I think you should read the thread where he described what he found and how he fixed it.

๐Ÿ‘‰ Josef Strzibny shared a rake task that aborts execution if there are pending migrations:

๐Ÿ‘‰ Cezar Halmagean shared a code sample showing how to destroy associations asynchronously:

๐Ÿ‘‰ Craig shared a code sample showing how to keep old records when updating with accepts_nested_attributes_for:

๐Ÿ‘‰ Kevin Newton shared a piece of code showing how the expression in rescue clause can be a method call:

๐Ÿ‘‰ Matt Swanson shared a piece of code showing how they include ApplicationJob inside the main model:

๐Ÿ‘‰ Greg Navis shared a thread about YARD, the documentation tool. Here is a screenshot showing how to use it to document the code:

๐Ÿ‘‰ Marian Posฤƒceanu shared a tip about how to check controller response in the console:

๐Ÿ‘‰ Jean Boussier shared the speed gained from upgrading the Shopify monolith to Ruby 3.2:

๐Ÿ‘‰ Matt Swanson reminded us that we can now use an endless range in where:

๐Ÿ‘‰ Jeremy Smith shared a code sample showing an Active Storage gotcha:

He described the problem:

๐Ÿ‘‰ Deepak Mahakale shared that Rails 7.1 has a built-in health check:

๐Ÿ‘‰ Timnan shared a sample code showing various ways to select a random element from an array:

๐Ÿ‘‰ Simon Chiu shared simple wisdom about how to approach Rails long-term maintenance:

๐Ÿ‘‰ Collin shared a code sample showing a less-than-usual way of defining a method:

๐Ÿ‘‰ The Rubber Duck Dev Show asked about how to add the values of 2 arrays of arbitrary length:

Here are two of the replies:

๐Ÿ‘‰ Timnan shared a code sample showing how to use lazy method to generate elements on demand:

If you have read so far and you like the content, maybe you take into consideration sharing this and subscribing:

๐Ÿงฐ Gems, Libraries, and Updates

๐Ÿงฐ Joel Drapper shared they released Phlex 1.1.0. Read the changelog

๐Ÿงฐ Petrik de Heus shared that Arron Petterson opened some PRs to upgrade Mastodon to Ruby 3.1 and 3.2:

๐Ÿงฐ Joel Drapper shared a new gem created by Marco Roth named turbo-ready that uses Phlex:

Turbo helpers without the requirement for Rails

๐Ÿงฐ Mike Dalessio announced a new version of Nokogiri v.1.14.0 with native (precompiled) support for Ruby 3.2. Read the release announcement

๐Ÿงฐ Chris Oliver announced they are starting to work on a new authentication gem for Rails:

๐Ÿงฐ Jeff Atwood shared a new version of Discourse 3.0 is Here!. You can check the open source version on Github

๐Ÿงฐ Maciej Mensfeld shared a screenshot about how the UI of the of Karafka UI will look like:

๐Ÿงฐ Steve Polito shared the Release 20230113.0 of suspenders (a Rails template with standard defaults ready to deploy on Heroku from Thoughtbot) that now supports Rails 7 and Ruby 3.

๐Ÿงฐ Ronin Rb published a new version of Ronin. Read the changelog

๐Ÿค Related (but not Ruby-specific)

๐ŸคAndrej shared a nice visual explaining the difference between space-between, space-around and space-evenly in CSS:

๐ŸคForrest Brazeal shared a funny image about cloud architecture:

๐ŸคAdrian Marin shared what he does to deep dive into open-source:

๐Ÿค Nate Berkopec shared that setting up monitoring is a hard task:

๐Ÿค Lucian Ghinda talked about code design inertia:

๐ŸคXavier Noria talked about perfectionism in software:

๐ŸคBrandon asked about engineering skills:

Among the answers:

  • Curiosity

  • Perseverance

  • Communication

  • Thoroughness

  • Problem-Solving

  • Writing

  • Empathy

More content: ๐ŸŽฅ ๐ŸŽง ๐Ÿ—ž

Newsletters

๐Ÿ—ž Ruby Radar published a new edition: Ruby Radar #85

๐Ÿ—ž๏ธ Ruby Weekly published a new edition: Why Shopify's CLI dropped Ruby for Node

๐Ÿ—ž๏ธ Ruby LibHunt published a new edition of the Awesome Ruby Newsletter

Podcasts

๐ŸŽง Remote Ruby published a new episode about Data Migrations in Rails

Videos

Talks

๐Ÿ“ฝ๏ธ Grant Willcox shared an old video (2014) where Katherine Wu talks about How to be a Better Junior Developer by Katherine Wu

๐Ÿ“ฝ๏ธ Chris Oliver shared the record of Jumpstart Pro Office Hours

๐Ÿ“ฝ๏ธ Sebastian Wilgosz shared the talk delivered by Drew Bragg at RubyConf Mini about Who Wants to be a Ruby Engineer?

๐Ÿ“ฝ๏ธ Jason Swett published the recording of Code with Jason meeting about ViewComponent (2023-01-12)

๐Ÿ“ฝ๏ธ Drifting Ruby published their video version of This Week in Rails - Jan 13th, 2023

Screencasts

๐ŸŽฅ Dave Kimura published a new screencast showing how to build a TailwindUI calendar

๐ŸŽฅ Yaroslav Shmarov published a new video about Email Calendar Invite

๐ŸŽฅ DriftingRuby published a new video about Rails Docked

Articles

Yaroslav Shmarov published a new article about Omniauth without Devise

Angus Bower-Brown published the first article explaining SRP with Ruby code: Single Responsibility Principle for beginners (1/2)

Jude published a two-series article about:

Reply

or to participate.