🫢 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.