Short Ruby News - Edition #60

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

This week's edition is shorter because I'm co-organizing the Friendly.rb event. See you there!

You can jump directly to a section:

[Sponsorโฌ‡]

Get 20% off when buying Deployment from Scratch from the affiliate link๐Ÿ‘‡

Deployment from Scratch (affiliate link with 20% discount) An introductory but comprehensive guide to web application deployment. Learn the groundwork for setting up Linux virtual servers and containers. Provision of web servers and databases. Includes bash scripts to deploy a Static Website, a full-featured Rails app, and a PostgreSQL cluster.

๐Ÿš€ New Products

๐Ÿš€ 37signals launched Strada

๐Ÿ“š Andrew Hodson launched a new book learnrubyinorbit.com:

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰ Xavier Noria shared about why they like Ruby:

๐Ÿ‘‰ Brad Gessler shared about not using inheritance but composition:

๐Ÿ‘‰ Josef Strzibny shared about active storage:

๐Ÿ‘‰ Emmanuel Hayford shared a tip about using select fields as hashes in Rails 7.1:

๐Ÿ‘‰ Matt Swanson shared a code sample about Active Record:

๐Ÿ‘‰ Deepak Mahakale shared a tip about using pluck over map:

๐Ÿ‘‰ Eric Berry shared a tip about Scratch files in RubyMine

๐Ÿ‘‰ Tobi Lutke shared about scaling web:

๐Ÿ‘‰ Simon Chiu asked about what people always forget and need to search to find out. Read the replies (nitter link):

๐Ÿ‘‰ Matt Swanson shared about adding comments in Gemfile to know when to upgrade:

๐Ÿ‘‰ Fabian shared a code sample showing how they used DATA and __END__:

๐Ÿ‘‰ David Heinemeier Hansson shared they are thinking to deploy SQLite in production for ONCE product:

๐Ÿ‘‰ Brad Gessler shared a code sample showing I haven't used Strong Parameters in weeks!

๐Ÿ‘‰ Jesper Christiansen shared a tip about converting a string to a boolean in Rails:

๐Ÿ‘‰ Michael Chaney shared their story about upgrading from Rails 3 to Rails 7. Here is a part of the entire post:

๐Ÿ‘‰ Andrew Hodson shared a tip about using the hash syntax for select in Rails 7.1:

๐Ÿ‘‰ Ruby Cademy shared a code sample showing low coupling and high cohesion:

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿงฐ David Heinemeier Hansson launched version 1 of Kamal โ†’ Deploy web apps anywhere

๐Ÿ†• ๐Ÿงฐ Kevin Newton announced a new gem parser-yarp

๐Ÿงฐ Ruby On Mac announced a new version of Ruby on Mac version 2.0

๐Ÿงฐ Stephen Margheim shared that their PR about Add SQLite3 support for `supports_insert_returning?` was merged to Rails:

๐Ÿ†•๐Ÿงฐ Paweล‚ Strzaล‚kowski launched the source of the Tetris Game at Euruko GitHub - pstrzalk/tetris-on-rails

๐Ÿค Related (but not Ruby-specific)

๐Ÿค Michael Buckbee shared a tip about dot files on Git:

๐Ÿค Dave Thomas announced they are back at leading pragdave - PragProg 2.0 

๐Ÿค Adrian Valenzuela asked for S3 alternatives. Read the replies (read on nitter):

๐Ÿค Stephen Margheim shared about how to think about link vs button:

๐Ÿค Florin Pop asked about resources for learning CSS and they received some good recommentations. Read the replies (read on nitter)

๐Ÿค Jason Swett shared about the cause of poor naming:

๐Ÿค Cezar Halmagean shared about how they think about MVP:

More content: ๐Ÿ“š ๐Ÿ—ž ๐ŸŽง ๐ŸŽฅ โœ๐Ÿพ

๐Ÿ—ž Newsletters

๐Ÿ—ž Emmanuel Hayford published a new edition of This Week in Rails about SQLite3 adapter now handles default functions with concatenation an...

๐Ÿ—ž Harrison Broadbent published a new edition about The RailsNotes Newsletter ISSUE #12

๐Ÿ—ž Ruby Weekly published a new edition about Itโ€™s 95 sleeps till Ruby 3.3

๐ŸŽง Podcasts

๐ŸŽง Indie Rails published a new podcast about IndieRails | Robby Russell - Maintaining Planet Argon

๐ŸŽง Lucas Barret published a new podcast about GemRubyShow: Ben Sheldon, GoodJob

๐ŸŽง The Ruby on Rails Podcast published a new episode about Episode 488: Rubyconf 2023 Preview With Allison Mc Millan And Chelsea Kaufman

๐Ÿ“ฝ๏ธ ๐ŸŽฅ Videos

Screencasts

๐ŸŽฅ Thoughtbot published a new video about Upgrading a Rails 3.2 app to Rails 7

๐ŸŽฅ David Heinemeier Hansson published a video showing how Kamal works (nitter link)

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

Takashi Kokubun published a new article about Ruby 3.3โ€™s YJIT Runs Shopifyโ€™s Production Code 15% Faster

Miles published a new article about Get Started with Strada! A First Look on iOS

Joe Masilotti published an article about Strada Officially Launched!

Tony Messias published an article about Welcome Strada

Alexis Bernard published an article about Optimisation Is Often Doing Fewer Things

How-Tos ๐Ÿ“

Mika Henriksson published a new article about Using session cookies directly in playwright

Greg Molnar updated their article about Deploying a Rails app with Kamal

Igor Alexandrov updated their article about How To Use Basecampโ€™s Kamal With AWS and GitHub

Stephen Margheim published a new article about Enhancing your Rails app with SQLite:Performance metrics

Please consider becoming a paid subscriber to support this newsletter for just $1.8/week ($7.5/month), and you will receive an ad-free version. 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.