πŸ‘‹ 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 and I also have a presentation to create πŸ˜€. 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 (affilite 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 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

🎧 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.