πŸ‘‹ Short Ruby News - Edition #44

Discover the world of Ruby in this comprehensive newsletter covering week 21 of 2023. Find code samples, community updates, gems, resources, and thought-provoking discussions.

You can jump directly to a section:

πŸ‘ Our Community

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾 (articles, podcasts, videos, newsletters, books and slides)

I am launching sponsorship packages if you or your company want to promote your product, job ad, or content in this newsletter. There are 3 places to put a promo and two more comprehensive sponsorship packages.

If you are curious about why I am launching this, I have included my reasons here.

If you are a paying subscriber, you will receive an ad-free version of the newsletter and a special discount if you want to promote your project, product, or company. Please read about it in the section about Paying subscribers.

πŸ’Έ For only $1.5 per week (just $6.5 a month), you can become a paid subscriber and contribute to the success of the flourishing Ruby community we all adore while receiving an ad-free version of the newsletter!

πŸ‘ Our Community

πŸ‘ Friendly rb announced a new speaker - Jason Sweet β–Ά friendlyrb.com

πŸ‘ Ruby Conf Thailand announced their new keynote speaker β–Ά rubyconfth.com

πŸ‘ Ruby On Rails announced their website is ready at rubyonrails.org/world

πŸ‘ Rocky Mountain Ruby announced that their conference would happen on 6-7 October 2023 β–Ά rockymtnruby.dev

πŸ‘ Jason Swett announced that Sin City Ruby - Las Vegas Ruby Conference is back and will happen in 21-22 March 2024. Checkout sincityruby.com

πŸ‘ Adrian Marin together with Yaroslav Shmarov launched a new podcast called friendly.show:

πŸ‘ Pasha Kalashnikov shared a thread about why they think the popularity of Ruby and Rails will increase:

Here are three more tweets from Pasha’s thread:

On the same topic, Andrei Maxim shared why he is still working with Ruby and Rails after 15 years:

πŸ‘ Code And The Coding Coders Who Code It announced they are seeking sponsors. Reach out to Drew if you are interested in sponsoring the podcast.

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Salma Elbadawi shared a thread to help people that are learning Ruby:

πŸ‘‰ Stanislav Katkov shared a thread about how to check spelling mistakes in Ruby using two gems: misspell and codespell

πŸ‘‰ Caleb Hearth asked about alternatives on how to get min/max from an array of hashes:

πŸ‘‰ Louis Brauer shared their amazement of IRB, providing examples in the terminal:

πŸ‘‰Brian Kung shared a code sample showing how to combine if and unless in the same statement in Ruby:

🀞 I imagine that if you have read this so far, you find value in this newsletter.

Upgrade to paid to receive an ad-free version:

Or consider suggesting to your company to sponsor this newsletter and promote their product, job ad, or content here. Read more about the Sponsorship Packages and available options.

πŸ‘‰ Ruby For All asked about how to stay up to date with Ruby:

Here are some of the answers:

πŸ‘‰Matt Swanson asked about a dilemma of using find_or_create_by in a constant:

There are excellent replies to this question, and I invite you to read them all. I will put here what Matt shared as the solution:

πŸ‘‰ JoΓ«l Quenneville shared a code sample about how to think about FeatureEnvy when using Array#map:

πŸ‘‰ Paul Dobbin Schmaltz shared a zsh function to search and open Rubocop docs See gist

πŸ‘‰ Ruby Cademy shared a thread about module function and extend self:

They summarised the differences as:

πŸ‘‰ Saron Yitbarek asked for recommendations for learning Ruby on Rails:

Here are some of the recommendations she received:

πŸ‘‰ Ruby Cademy shared two ways to replace a hash key:

πŸ‘‰ Craig shared a series of shortcuts to run Rspec tests in Vim:

πŸ‘‰ Greg Navis shared a thread about running assertions in production:

πŸ‘‰Ruby Cademy shared a code sample showing how to use attribute_method_affix and column_defaults

πŸ‘‰ JoΓ«l Quenneville shared a thread about how to think about reduce:

πŸ‘‰ u/HurricaneCecil asked a question about why to choose Hash instead of HashWithIndifferentAccess:

That generated an interesting conversation with some good examples. I picked here only a couple of answers:

If you want to read more about why Ruby has not yet adopted this, you can read the comments in Ruby issue tracker

🧰 Gems, Libraries, and Updates

🧰 Ruby On Rails announced the release of version 7.0.5 for Rails ▢️ Read the announcement or Read the changelog

🧰 Stephen shared their new tool called ai_refactor

🧰 Jeremy Evans announced the release version 2.30.0 of Rodauth ▢️ Read the release notes

🧰 Kirill Platonov announced two new plugins for standard: standard-minitest and standard-thread_safety:

🧰 Nick Schwaderer announced the release of version 0.2.0 for chat_gpt_error_handler β–Ά Release notes

🧰 John Nunemaker shared that HTTParty reached half the number of downloads of Rails:

🧰 Thoughtbot announced they launched a new documentation for factory_bot  β–Ά New Docs for factory_bot.

Direct link to documentation is thoughtbot.github.io/factory_bot

🧰 Konnor Rogers announced the release of version 1.0.0 of mrujs

🧰 Dima Fatko shared their gem called online_migrations about online_migrations: Catch unsafe PostgreSQL migrations in development:

🧰 Rubyist For iOS announced a new version of their iOS app. You can download it from here

🧰 Gene M. Angelo, Jr. published a new gem called dsu:

Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody:

If you consider upgrading and want more information, please read Why to subscribe to paid

🀝 Related (but not Ruby-specific)

🀝 Jason Gorman shared their view about what is a 10x developer:

πŸ‘‰ Benoit shared a link from PostgreSQL documentation about 11.4. Indexes and ORDER BY explaining how order by and limit can affect performance:

🀝Jason Swett shared their opinion about what is a 10x programmer:

🀝 Stanislav Katkov shared their perspective about combining employment with solopreneurship:

🀝 Paul Dobbin Schmaltz shared a tip about organising aliases by using the bang concept from Ruby:

🀝Donn Felker shared an advice about how to improve the PR reviews:

On the same topic of explaining the why Drew Bragg shared

🀝Sebastian Wilgosz shared a thread about ways to monetize content creation:

You should read the entire thread, where he is talking about guest articles, donations, sponsorships, consulting, premium content, membership program, webinars, sponsored content, affiliate marketing, ebooks, selling digital products and much much more. It is a thread worth saving.

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

In case you want to read the More Content version with articles previews, read it on web here

πŸ“š Books & Slides

πŸ—’οΈ sonota88 shared the slides of Masataka Pocke Kuwabara’s talk about Let's write RBS!

πŸ—’οΈ Yuichiro Kaneko published their slides about The Future Vision of Ruby Parser

πŸ“šPragmatic Programmers announced their latest promotion - valid until 1st June - checkout Promotions

πŸ—ž Newsletters

πŸ—žοΈ Allison Pike published a new edition of Once a Maintainer: Marco Roth 

πŸ—ž Joe Masilotti published a new edition of Hotwire Newsletter - May Edition

πŸ—ž Greg Molnar published a new edition of Infer name with link_to - Rails Tricks Issue 8

πŸ—žοΈ Ruby Libhunt published a new edition of Awesome Ruby Newsletter - Issue 366

πŸ—žοΈ Ruby Radar published a new edition about Here's to a Long Weekend!

πŸ—žοΈ Ruby Weekly published a new edition: So quiet that I'm Photoshopping broccoli

🎧 Podcasts

πŸ“½οΈ πŸŽ₯ Videos

Talks

πŸ“½οΈ Dave Kimura published the video version of This Week in Rails - 2023-05-26

πŸ“½οΈ The Rubber Duck Dev Show published a new episode about Monetizing Your Content Pt. 2 with Seb Wilgosz

Screencasts

πŸŽ₯ Deanin published new videos about:

✍🏾 Articles

What’s new

How-Tos

Deep Dives

Related

Ayush published a new article about How I manage my git history

Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody:

If you consider upgrading and want more information, please read Why to subscribe to paid.

Reply

or to participate.