You can jump directly to a section:
📅 Events
🧰 Gems, Libraries, and Updates
🤝 Related (but not Ruby-specific)
More content: 📚 🗞 🎧 🎥 ✍🏾 (articles, podcasts, videos, newsletters)
Looking for sponsors 🤞
Friendly RB is a friendly Ruby conference, happening on 27-28 September in Bucharest, Romania. Tickets are already sold out! We are just looking for few more sponsors.
There are 6 spots available for Community Sponsorship at only $1250.
"We are looking for sponsors to partner with us in bringing a new and unique European conference. Sponsorship funds will go toward keeping ticket costs low, honorariums for conference speakers, and video recording"
If you think your company might want to sponsor this conference please write to adrian@adrianthedev.com.
👐 Ruby On Rails announced Introducing the Rails Luminary Awards: Nominations Now Open
This is about:
Do you know someone who has consistently gone above and beyond to help others, who has shaped discussions, answered countless questions, triaged bugs, added particularly helpful features, or introduced us all to innovative new ideas?
Nominate these exceptional individuals who you believe deserve to be recognized using the form below.
👐 Ian shared #helloworld_rb
👐 Lucas Barret announced they plan to launch a new podcast:
👐 Ogom shared Osaka RubyKaigi 03
👐 Juliana Dias announced that Tropical Ruby 2024 is back
👐 Friendly.Rb announced a new speaker “Let there be docs!” with Svyatoslav Kryukov – Friendly.rb – Your friendly European Ruby conference
👐 Avi Flombaum shared they are looking for a space for NYC on Rails | Meetup
👐 Ruby Conf Thailand shared Schedule | RubyConf TH 2023
👐 Euruko shared Euruko 2023 agenda:
👐 Ruby Conf announced their first speaker RubyConf Homepage
👉 Yukihiro Matz shared about methods in Ruby:
Please consider upgrading to paid to support this newsletter and get an ad-free version.
Or if you have a product or service, book or event (even better if they are built with Ruby) that you want to promote in this newsletter consider choosing one of the sponsorship packages
👉 I shared a thread with some insights from Stack Overflow survey:
👉 Postmodern asked about error key for validating belongs_to:
And it seems that the response could be:
👉Nithin Bekal shared their article Ruby’s bang methods – Handle with care! with a code sample:
👉 Takashi Kokubun shared about Ruby 3.3 YJIT improvements:
Takashi also shared a merged PR YJIT: Compile exception handlers:
👉 Donn Felker asked for recommendations of Sidekick config:
👉 Nick Bradley shared #diff method for Ruby Data classes
Victor Shepelev replied with another code sample:
👉 Thomas Countz shared a thread about closures in Ruby:
And he also shared how they used this in a gem:
👉 @Smithwebdev@Ruby.Social asked about how to start TDD:
Here are some of the replies:
👉 Prabin Poudel asked about using JSON type column in PSQL:
Here are some of the replies:
👉 Ruby Cademy shared how to configure Rails COnsole Prompt to show environment:
Here is a similar tip shared a while back by Matt:
👉 Rob Zolkos shared how to define a relation between users and teams:
Stephen Margheim proposed an improvement:
👉 Samuel Williams shared about the performance of sus test runner:
👉 Ruby Cademy shared about using Faker random to get the same results:
👉 Harrison Broadbent shared a tip about using y to print data in YAML format in Rails:
👉 Kevin Newton shared a tip about using Integer#anybits?
👉 Gavin Morrice asked about why create setters and getters instead of using ivars:
There is a good discussion there (read on nitter) about coding styles.
👉 Kevin Newton shared about redefining Integer#-@
👉 Kevin Newton shared about magic comments:
👉 Greg Navis shared a thread about Active Jobs callbacks:
👉 Jeremy Smith shared the code to create an Alternative approach to drag and drop sorting with acts_as_list
👉 Janko Marohnić asked about the approach to store session in DB and store session ID in cookie:
The replies are mostly pointing out either the limitation of 4KB or the security feature to be able to logout from all sessions:
🧰 Rafael Franca announced the release of Rails 7.0.7. Read the full changelog here
🧰 Sinatra announced a new release of version 3.1 that has new features:
🧰 Avo announced that Avo 3 beta is now open → Avo 3 Beta
🧰 Jeffrey Phillips Freeman announced their new gem called abstractify → a gem to create abstract classes in Ruby:
🧰 Avi Flombaum shared a repo that has configuration for A simple TailwindCSS powered Github Pages Starter
🧰 Marco Roth announced the release of a new version for Stimulus → Release v3.2.2 · hotwired/stimulus
🧰 Kevin Newton announced the first version of yarp gem
🧰 Benjaminwood shared a tip about upgrading RSpec Fix and_call_original for Ruby 3.2 by igor-drozdov · Pull Request #1552 · rspec/rspec-mocks
🧰 Yasuo Honda announced a release of a new version activerecord-oracle_enhanced
🧰 Jeremy Evans announced a new release of hanna-1.5.0 and hanna-nouveau 1.5.0 Released · jeremyevans hanna · Discussion #23
🧰 Stan Lo shared a merged PR for IRB about Drop showing indent level number in DEFAULT prompt and INF_RUBY prompt by tompng · Pull Request #679 · ruby/irb
Thank you for reading Short Ruby Newsletter. This post is public, so feel free to share it.
🤝 Julian Rubisch shared a thread (read on nitter) with the result of a survey they did about Tech Debt. I added here only one of the data shared:
🤝 Justin Jackson shared how to block GPT bot to access your website OpenAI Platform
🤝 Gergely Orosz asked about how to think about moving to the manager path:
🤝 Adrian Oprea shared an advice about naming:
🤝 Julian Rubisch shared what does it mean to be a senior:
🤝 Maple Ong shared a tip about accessing the PR diff on Github:
👉 Naofumi Kagami 加々美直史 shared about TDD:
📚 Jason Charnes shared an update about Active Record Cookbook:
📚 Jason Swett asked for community help to meet people working at AI tech products:
📚 Joe Masilotti shared an update about their Turbo Native book:
🗞 Ruby Weekly published a new edition #666 – Sinatra 3.1 released
🗞 Allison Pike published a new edition of Once a Maintainer about Brendon Muir → “Building tools for primary schools in New Zealand using Rails”
🗞 Greg Molnar published a new edition of This Week in Rails: A new release, Action Mailer preview empty states, bugfixes and more!
🗞 Ruby LibHunt published a new edition of the Issue 377 – Two Garbage Collection Improvements Made Our Storefronts 8% Faster
🗞 Any Cable published a new edition about Any Cables Monthly #12
🎧 Remote Ruby published a new episode about Hackathon – Strada – Rails World
🎧 The Ruby on Rails Podcast published a new episode about Episode 482: Everything is Awe(ful)some! (Brittany + Brian)
🎧 The Bike Shed published a new episode about 396: Build vs. Buy
🎧 Rooftop Ruby published a new episode about 22: Abstraction Goes All the Way Down
🎧 Indie Rails published a new podcast about IndieRails | Nadia Odunayo – Building The StoryGraph
🎧 Maintainable Software Podcast published a new podcast about Ahmed Wasfy – Thriving as an Engineering Manager
📽️ Avi Flombaum streamed during the weekend a series of videos about courseguide.ai – here is the planning session and here is the coding session
🎥 Yaroslav Shmarov published new videos about:
-
Tailwind on Rails #138 Responsive Layout with Sidebar and Navbar
-
Ruby on Rails #141 Responsive Content layout: Grid, Flex, Centered
🎥 Dean De Hart published new videos about:
🎥 Nick Sutterer published a new video about How to nest operations in Trailblazer
🎥 Phil Smy published a new video about How To Integrate Chatgpt With Rails 7: Step-by-step Tutorial
🎥 David Kimura published a new episode about PDF Reader
🎥 Pete Hawkins published a new video about Building a ChatGPT bot using Ruby on Rails
🎥 Ruby Cademy published a new video about Redirect the Use of the JSON Library to Implement a Powerful Data Import pattern
🎥 Jeremy Smith published a new video about Alternative approach to drag and drop sorting with acts_as_list
Avi Flombaum published the 4th part of their series about An ActiveStorage S3 Direct Uploader: Part 4 – Bonus Features → “Just for fun, I thought we’d add a feature where after the upload is complete we display an audio player for the track that was just uploaded”
Gowsik Vivekanandan published a new article about Rails 7.1 Store secret_key_base In Credentials For Local Environment → “In the latest stable version of Rails (Rails 7.0.6), secrets is used for storing the secret_key_base in the local environment. However, from Rails 7.1 onwards, secret_key_base will be moved to credentials”
Gift Egwuenu published a new article about July 2023 RubyGems Updates → “As part of our efforts at Ruby Central, we publish a recap of the work that we’ve done the previous month. Read on to find out what updates were made to RubyGems and RubyGems.org in July”
Alkesh Ghorpade published two new articles about what’s new in Rails 7.1: Rails 7.1 adds the ability to raise errors on missing callback actions → “Rails 7.1 allows configuring the controllers to raise an error when a callback’s only/except options have missing actions” and Rails 7.1 adds the ability to defer the unique constraints in PostgreSQL → “Rails 7.1 adds the ability to defer the unique constraints in PostgreSQL. You can use the add_unique_key command and pass the deferrable option to do this. The deferrable option can take two values: immediate and deferred”
Jorge Manrubia published a new article about Difficult and complex → “Being able to run a marathon is very difficult. But what you have to do to prepare is simple. A small sheet of paper is enough to describe the steps. You will need tremendous effort and discipline – so it’s hard – but it is simple”
I wrote an article about Insights from Stack Overflow Developer Survey 2023 about Ruby where I share key takeaways about Ruby from the 2023 Stack Overflow Developer Survey.
Kartikey Tanna publish an article about Understanding the Role of the `schema.rb` File in Rails Development → “I’ve rece