- Short Ruby Newsletter
- Posts
- π«Ά Short Ruby News - Edition #25
π«Ά 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:
Hotwire Dev Newsletter, Ruby Weekly, Code With Rails, Ruby Land, Daily.dev, Cezar Halmagean Blog, SupeRails Blog, Kevin J Murphy Newsletter, Caleb Hearth Blog, Andy Croll Newsletter, Karol Bak Blog, Jared White Full Stack Ruby, Noel Rappin Newsletter, Ryan Bigg Blog, Tim Riley Blog, David Young Newsletter, Hanami Mastery Blog, content_for :devs, rubyonrails.ba, Cangshi Xianye blog, Sreeram Venkitesh Blog, Rafal Piekara Ruby Mailing, Benito Serna Blog, Devanil Junior Blog, Notes to self by Josef Strzibny, Alchemist by Brooke Kuhlmann
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:
They shared two resources to read more about this: Ruby on Rails accepts_nested_attributes_for is deleting my associated record! and link to Rails documentation
π 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:
π Simon Chiu shared simple wisdom about how to approach Rails long-term maintenance:
π The Rubber Duck Dev Show asked about how to add the values of 2 arrays of arbitrary length:
Here are two of the replies:
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
π§° Jeremy Evans shared they published Roda 3.64.0 Released Β· Discussion #300 Β· jeremyevans/roda
π§° 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.
π§° Koichi Ito shared a new release of Release RuboCop Minitest 0.26.0 Β· rubocop/rubocop-minitest
π§° 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:
Among the answers:
Curiosity
Perseverance
Communication
Thoroughness
Problem-Solving
Writing
Empathy
More content: π₯ π§ π
Newsletters
π Emmanuel Hayford published a new edition of This Week in Rails: An endpoint for uptime monitors, an improved help command, etc
π 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
π§ Jason Swett published a new episode 170 - Growing Large Rails Applications with Collin Donnell
π§Ruby For All published a new episode Integrations with Brittany Martin
π§ Sebastian Wilgosz shared a new episode Adventures in Note Taking with Seb Wilgozs | Rubber Duck Dev Show Jan 12, 2023
π§ 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
π₯ Hanami Mastery published a new episode about Advanced CLI tools with Ruby and dry-cli!
π₯ Deanin published a new episode about Deploy All Your Apps With SSL To One Nginx Server | Ruby On Rails 7.1 Tutorial
π₯ Deanin published a new episoed about Realtime Drawing With Action Cable - An Intro | Ruby On Rails 7 Tutorial
π₯ Hanami Mastery published an episode about Intro to Apps architecture - Level 1: Context
π₯ Ruby Lib Hunt shared a video showing how to create a "Snow Fall" Effect + "The Matrix" Effect (~20 lines of code)
π₯ DriftingRuby published a new video about Rails Docked
Articles
Simon Chiu wrote an article about How to Create a Rails Gem from Your Existing Code
Yaroslav Shmarov published a new article about Omniauth without Devise
Kevin Murphy published a new article about Evaluating More Coverage in Ruby 3.2
Mike Coutermarsh shared an article about Solving N+1βs with Rails `exists?` queries
Adrian Marin published a new article about How to bundle assets in a Rails engine
PaweΕ ΕwiΔ tkowski published a new article about Create a Business Language for a Rails Application
Angus Bower-Brown published the first article explaining SRP with Ruby code: Single Responsibility Principle for beginners (1/2)
The Ruby Dev shared an article written by Robert Nubel about A Tale of Hashery and Woe: How Mutable Hash Keys Led to an ActiveRecord Bug
Jason Swett published a new article about What causes flaky tests - Code with Jason
The Ruby Dev shared an article written by Kane Hooper about How to integrate Ruby with OpenAI (GPT-3)
The Ruby Dev shared an article written by Pete Cheslock about Optimizing Mastodon Performance: Finding and Fixing its N+1 Queries
Jude published a two-series article about:
Ahmed Nadar published a new article about Rails Hotwire: mastering techniques for streamlining inline editing in your user interface
Reply