πŸ‘‹ 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 wrote a detailed article about it.

If you are a paying subscriber, you will continue receiving 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:

πŸ‘‰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

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

🧰 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 while receiving an ad-free version:

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: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

πŸ“š 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

🎧 Podcasts

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

Talks

Screencasts

✍🏾 Articles

What’s new

How-Tos

Deep Dives

Related

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.