Short Ruby News - Edition #95

The one about the Ruby 3.3.3 release together with the Security for Rails developers book pre-sale launch and finding out that Ruby is the highest paying job so far in 2024

You can jump directly to a section:

πŸš€ Launches and discounts & πŸ“… Events

πŸ‘‰ All about Code and Ruby: πŸ’» Code, πŸ“Code Design,πŸ’‘Around, ❀️ Why Choose Ruby

🧰 Gems, Libraries, and Updates: πŸ†• New, 🧰 Updates and πŸ‘€ Keep an eye on

🀝 Related (but not Ruby-specific)

[Promo ⬇] avohq.io

Adrian from Avo is looking to find someone to write some technical articles.The ideal candidate is a junior to mid-level Ruby developer who enjoys keeping up with the Ruby community and current events and writing content.The budget is around $100/article, but it's flexible depending on the requirements and deliverables.If you think you're the right person to help out with this, please reach out to [email protected]

πŸš€ Launches and discounts

πŸš€ Greg Molnar launched their course Security for Rails Developers  for pre-sale:

πŸš€ Josef Strzibny launched his side project Tube and Chill

πŸš€ Simon Chiu shared a demo of Proggy.io, an app that helps you build command-line programs:

πŸ“… Events

πŸ“… Adarsh shared his joy about Jim Remsik teaming up with Reveal to restart Detroit #Ruby meetups! - The next one is happening on 20 June:

There are a couple of meetups happening this week:

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Takashi Kokubun announced the release of Ruby 3.3.3

πŸ‘‰ Postmodern shared ruby-install now supports Ruby 3.3.3

πŸ’» Code Samples

πŸ’» Dave Copeland shared a gist on two object-oriented ways - with stateless and stateful objects and is curious about what you think about these.

He also added:

πŸ’» Nishidayuya shared performance benchmarks for running Redmine on Ruby 3.3 YJIT:

Ruby Cademy also added a code sample about the error reporting:

πŸ’» Ruby On Rails shares a tip on a new Rails 7.1 feature that uses AR `to_s` to render the object:

πŸ’» Scott Watermasysk shared a code sample about using metaprogramming to define methods:

πŸ’» Jose Farias shared a code sample about adding a Tailwind modifier and using it in Rails:

πŸ’» John Mc Dowall shared a tip on creating a job lock

Here is Keygen’s reply to the same:

πŸ’» Ruby Cademy shares about virtual columns in Rails 7

πŸ’» Stephen Margheim a codepen for range sliders:

Here is more of what he shared:

πŸ’» Chris Oliver shared how on click works awesomely for simple features.

πŸ’» Ruby Cademy shares that Basecamp's Marginalia comments was added on Rails 7 to query logs.

πŸ’» Max Vel Dink gives us a quick reminder on Hash#fetch, which can take a block argument to fall back if the key is missing:

πŸ“ Thinking about Code Design

πŸ“ Postmodern shared a Benchmark that shows if/else with .kind_of? is 4x faster than case/in.

πŸ“ Marc KΓΆhlbrugge shared how syncing external service’s state to app’s database would be helpful if your code tightly integrates with an external service.

πŸ“ Bilal shared about using Cloudflare to cut asset requests traffic to the Rails app:

πŸ“ Brian Scanlan shared about code survival in Rails monolith at Intercom:

πŸ“ James Kerr talks about how every good rule has reasonable exceptions. Did you know about this on ActiveRecord#valid?

πŸ’‘ Around code (news, findings, books, and more - all about Ruby)

πŸ’‘ Matt Swanson shares on i18n pluralization concept:

πŸ’‘ Michael Chaney shared on how to use Thruster in your local development environment

πŸ’‘Kyle Keesling shared Chris Oliver’s guide on How To Update ActionText Attachments for Rails 7.

πŸ’‘ Matt Swanson speaks on why building features with async step needs a max retry or expiration date

πŸ‘‰ Deepak Mahakale shared about a feature that will come in Rails 8:

❀️ Why Choose Ruby

❀️ Andrew Brown shared about why they choose Rails

❀️ John Davison shared about Rails:

❀️ Landon Gray shared about Ruby community:

❀️ Stephan shared about the language:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

🧰 Updates

🧰 Samuel Williams announced a new version of rack

🧰 Camilo announced shipping standard ruby version 1.37.0 with a new rule Style/SuperArguments.

🧰 Alex Rudall announced a new version Release v7.1.0 · of ruby-openai

He also shared about releasing a new version of anthropic: Anthropic (Claude) API + Ruby! πŸ€–πŸŒŒ

🧰 Rémy Hannequin announced a new version Release v0.5.0 · astronoby

🧰 Mari Imaizumi announced a new version Release of v0.5.9 · ruby/reline

🧰 Jeremy Evans announced a new version Roda 3.81.0

🧰 Josef Strzibny announced a new version Release v0.7.0 · devise-otp

πŸ‘€ Keep an eye on

πŸ‘€ Ruby Conf is looking for volunteers to be CFP Coach Mentors.

πŸ‘€ Lucian Ghinda shared that Yukihiro Matz has announced a Syntax moratorium and no new syntax changes will be added till ruby 3.4 is released.

🀝 Related (but not Ruby-specific)

🀝 Adrian Marin shared a tip about enabling Tax ID on Stripe (see documentation):

🀝 Xavier Noria shared advice about how to be a good independent consultant:

🀝 Max Vel Dink calls for volunteers to revive Orlando Ruby meetup :

🀝 Robert Pankowecki shared how postgreSQL makes it simpler to add index to big tables, which you could use on your Rails app, of course.

 

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

Radoslav Stankov shared their slides from Baltic Ruby at Living Without Exceptions

πŸ—ž Newsletters

πŸ—ž Rails published a newsletter briefing New transaction event, bugfixes and more!

πŸ—ž Ruby Weekly published Ruby Weekly Issue 707: June 13, 2024

πŸ—ž Hotwire Weekly published a new edition about Week 24 - Using React with Hotwire, Refreshing Turbo Frames, and more!

πŸ—ž Awesome Ruby Newsletter published Awesome Ruby Newsletter #421

πŸ—ž Sajjad Umar published a new edition of Ruby on Rails June 2024

🎧 Podcasts

🎧 Indie Rails published a new podcast IndieRails | Natalie Kaminski & Igor Alexandrov - JetRockets Origins

🎧 Jason Swett published a new podcast What Causes Flaky Tests with Brad Pauly - The Code with Jason Podcast

🎧 The Build And Learn Podcast published a new podcast Build and Learn | Last RailsConf, Gameboy Nostalgia, and Platform Risk

🎧 The Rails Changelog published a new podcast about Discussing Rails Camp USA with Bobbilee Hartman | The Rails Changelog | Episode 22

🎧 The Bike Shed published a new podcast about The Bike Shed: 428: Ruminating on Ruby Enumerators

🎧 Remote Ruby published a new podcast about Rails 7.2 beta 1 with the GoRails Gang

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

Screencasts

πŸŽ₯ Collin published a new video about Refactoring with Enumerable partition (Example)

πŸŽ₯ Xavier Noria published a new video Xavier Noria – A Dateless Mindset

πŸŽ₯ Helvetic Ruby published a new video Helvetic Ruby 2024

πŸŽ₯ Fireship published a new video Ruby on Rails in 100 Seconds.

πŸŽ₯ Graceful.Dev published a new video about Endless Ranges in Ruby

πŸŽ₯ Andrew Atkinson published a new video about SaaS on Rails on PostgreSQL | POSETTE 2024

✍🏾 Articles

What’s new πŸ†•

πŸ†• The Rails Foundation published a new article about Meet TableCheck, the newest Contributing member of the Rails Foundation

πŸ†• Prasanth Chaduvula published a new article about Ruby 3.4 Throws SyntaxError As Keyword Arguments Are No Longer Allowed In Index.

πŸ†• FabrΓ­zio Saullo published a new article about Developing Modern Web Applications with Rails: Choosing the Right Component Tool

πŸ†• Josef Strzibny published a new article about Understanding Kamal healthcheck settings

πŸ†• Dave Thomas published a new article about Composable Configuration

πŸ†• Joshua Wood published a new article about Curated dashboards in Honeybadger

πŸ†• Jijo Bose published a new article about ActiveStorage::Blob#compose Now Supports Custom Blob Key in Rails 7.2

πŸ•΅οΈ Deep-Dive

πŸ•΅οΈ Victor Shepelev published a new article about The design decisions and evolution of a method definition - Ruby case study

πŸ•΅οΈ Mathieu Eustachy published an article about Memory management explained in Ruby

πŸ•΅οΈ Jp Camara published an article about Your Ruby programs are always multi-threaded: Part 1 - JP Camara

πŸ•΅οΈ Misha Merkushin published a new article about Transactional Outbox: from idea to open-source

πŸ•΅οΈ Stefanni Brasil , Thiago Araujo published a new article about Guide: Quickly Debug a Ruby Gem with Pry and Git Bisect

πŸ•΅οΈ Akshay Khot published an article about Polymorphic Associations in Rails: Why, What, and How

How-TOs πŸ“

πŸ“ RailsDesigner published a new article about How Layouts Work in Rails

πŸ“ Josef Strzibny published an article about Implementing dark mode with Tailwind and Stimulus

πŸ“ Andres Chacon published an article about Creating a REST API with Ruby on Rails. Chapter 1: Initial Setup and Models

πŸ“ Szymon Fiedler published a new article about How to add index to big table of your Rails app

πŸ“ Stefanni Brasil published a new article about Upgrading a Rails 6.1 app to Rails 7.0

πŸ“ Radan Skoric published an article about How to refresh the full page when submitting a form inside a Turbo Frame?

πŸ“ Vincent Rolea published a new article about Lost In Translation: Using Gettext As A Backend For I18n In Rails

πŸ“ Aestimo Kirina published a new article about Monitor the Performance of Your Ruby on Rails Application Using AppSignal

Related

Elaina Natario published a new article about Absolute positioning with CSS grid

Reply

or to participate.