- Short Ruby Newsletter
- Posts
- π Short Ruby News - Edition #44
π 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:
GoRails and their Ruby Scripts and IRB and Build a Blog with Ruby on Rails Youtube series
Rails Tutorial by Michael Hartl
Hotrails Dev tutorial
π Ruby Cademy shared two ways to replace a hash key:
π 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
π§° Dima Fatko shared their gem data_checks: Regression testing for data
π§° 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
They have titles like Programming Ruby 3.2 (5th Edition), Agile Web Development with Rails 7, Modern Front-End Development for Rails, Second Edition and Effective Testing with RSpec 3.
π Newsletters
ποΈ Allison Pike published a new edition of Once a Maintainer: Marco Roth
π Zzak published a new edition of This Week in Rails - May 26, 2023
π 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
π§ Jason Swett published a new episode about 182 - ChatGPT with Lee McAlilly - The Code with Jason Podcast
π§ The Ruby On Rails Podcast published a new episode Episode 471: RubyKaigi 2023 Recap (Brittany + Jemma)
π§ The Rails Changelog published a new episode about 007: Rails 7.0.5 released! Rails World CFP open, ticket landing page available
π½οΈ π₯ Videos
Talks
π½οΈ Dave Kimura published the video version of This Week in Rails - 2023-05-26
π½οΈ Jason Swett published a new video about ChatGPT-assisted TDD (2023-05-11 Code with Jason Meetup session)
π½οΈ The Rubber Duck Dev Show published a new episode about Monetizing Your Content Pt. 2 with Seb Wilgosz
Screencasts
π₯ RailsDrill published a new video about Creating Secure Tunnels in Ruby on Rails with Ngrok
π₯ Deanin published new videos about:
βπΎ Articles
Whatβs new
Kevin Luo published an article about Setup a basic authentication in Rails with HTTP Authentication
Gowsik Vivekanandan published an article about Integrate OpenAI API in Ruby applications
Adam Rice published an article about Common Table Expressions in Active Record
How-Tos
Konnor Rogers published a new article about Rails Frontend Bundling - Which one should I choose?
Mika Henriksson published an article about High performant ruby installations
JoΓ«l Quenneville published an article about Avoid Putting Logic in Map Blocks
Shemin Anto published an article about Improving the application performance by harnessing the full potential of ancestry gem
Akshay Khot published an article about How to Render Markdown Views in Rails
Guidemotion published an article about How to Install Rails on Windows 11 Step by Step
Akshay Khot published an article about A Beginner's Guide to Rails Parameters
Deep Dives
Evgeniy Demin published an article about The Mysterious Time-to-DateTime Conversion: Unraveling Rubyβs Unexpected Behavior
PaweΕ DΔ browski published an article about A comprehensive guide to the anonymous functions
Harrison Broadbent published an article about Learn Hotwire by building the simplest possible Hotwire and Ruby on Rails app β a beginners guide
Related
Ayush published a new article about How I manage my git history
Lucas Barret published a new article about Postgres Concurrency : What could go wrong (part 2)
William Kennedy published a new article about Turbo Android - Part 3 How to Access Native Android Features with the JavaScript Bridge
Andrey Sitnik published an article about 11 HTML best practices for login & sign-up forms
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