- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #103
Short Ruby News - Edition #103
This is the one about exciting Ruby launches, code tips, new gems, and upcoming events and launches, meetups in Turkiye, Switzerland, and Poland, and fresh insights into Ruby and Rails.
You can jump directly to a section:
π All about Code and Ruby: π» Code, πCode Design,π‘Around, β€οΈ Why Choose Ruby
π§° Gems, Libraries, and Updates: π New, π§° Updates
π€ Related (but not Ruby-specific)
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
[Sponsor β¬] reinteractive.com
The reinteractive Application Code Review is a deep dive into your application, providing you a complete window into the state of your app.
π Launches and discounts
π Luke announced the (pre)launch of PetPals - Unleash Friendships with PetPals
π Ruby On Remote announced a new section about Remote companies using Ruby
π Glauco CustΓ³dio launched a new project β Even Better Specs | Guidelines for Maintainable Tests
π Ganesh K. shared the release of Essential Brand Guidelines Book for Startup Founders | Crafting a Startup Brand - A Founders Manual
π Events
π Events happening this week if you want to attend (source: RubyConferences)
20 August β Ruby TΓΌrkiye - Virtual Meetup August 2024
21 August β Ruby on Rails Switzerland - RailshΓΆck at Puzzle
22 August β Polish Ruby User Group (PLRUG) - Meetup August 2024
24 August β Osaka RubyKaigi 04
π Ruby Conf shared they are looking for volunteers Conference Volunteer Interest Form
π All about Code and Ruby
π Thomas Cannon published a detailed guide about Fixing the Rails 7+ networking stack
π» Code Samples
οΈπ» Nate Hopkins shared about using construct/deconstruct and Minitest assert_pattern:
π» Akinori Musha shared a code sample about Ruby tweak for reverse sorting
οΈπ» Samuel Williams shared a code sample using pattern matching:
He explained his preference:
π» οΈ Nate Hopkins shared a tip for anyone using the terrific amazing_print ruby gem
οΈπ» Andrew Mason shared a tip about updating Ruby LSP:
οΈπ» Ruby Cademy shared rails tips on using with_lock method
They also shared tips on taking advantage of ActiveModel::Name#human to transform model names into a more human format, using I18n
Here is another tip to take advantage of config.middleware.use to integrate custom middleware seamlessly into your Rails app
οΈπ» Santanu Bhattacharya shares about a new identification mechanism GlobalID that allows representing ruby class as URL
οΈπ» Nate Hopkins shares about one liner pattern matches and Ruby patten matched case statements
οΈπ» AlemaΓ±o shared how to make your rake tasks safer and more user friendly with TTY::Prompt!
οΈπ» Michael Chaney discusses about invert_where method in active record
οΈπ» Bradley Schaefer shares about ActiveSupport::TaggedLogging
οΈπ» Josef Strzibny shared about how to fix Kamal build issue when moving to OrbStack:
π Thinking about Code Design
οΈπ οΈοΈ Shayon Mukherjee discusses why we should stop relying on IF NOT EXISTS for Concurrent Index Creation in PostgreSQL. Read the entire article here
π Lucian Ghinda shared an interesting thread on Why is the visibility of constants not affected by `private`? and how and why it should be. Check out the thread to know more.
οΈπ Ruby Cademy asked about non-standard directories that are added to a Rails app/ folder:
Here are some answers:
app/themes - a theme directoryapp/appapp/interactorsapp/contractsapp/errorsapp/eventsapp/policiesapo/serializers app/servicesapp/validatorsapp/view_componentsapp/pdfsapp/notes (usually gitignored)app/middleware
π‘ Around code (news, findings, books, and more - all about Ruby)
π‘ Irina Nazarova shared pictures from the YCombinator Ruby Meetup:
You should see the entire thread here.
Here is a followup:
π‘ Irina Nazarova discusses the need for a comprehensive catalog of companies that use Ruby on Rails
π‘Brad Gessler is building a βHotwire for CLI appsβ
β€οΈ Why Choose Ruby and Rails
β€οΈ Jim Jones is looking for a senior software engineer to join their team
β€οΈ Ross Kaffenberger shared his love for Ruby on Rails
β€οΈ Lloyd Wilson shares his experience with rails apps
β€οΈ Dave Copeland describes how much work Rails does to provide an ergonomic API
β€οΈ Ahmed Nadar shared an article written by Mike Chong about Iβm back, Ruby on Rails
β€οΈ Jake shared why they are choosing Ruby and Rails:
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Check out Andreas Haller openapi_first library that makes sure your API implementation is aligned with your OpenAPI API description
π Zeke Gabrielse open-sourced a series of gems used at Keygen (see the entire thread here):
π Landon Gray announced a new gem of simple_rag - Simple Rag is a lightweight library that transforms any Ruby project into a simple RAG application
π Alex Rudall announced a new repository about awesome-ruby-places: A list of awesome companies currently using Ruby as their main backend language!
π Andrew Kodkod published a new gem called phlex-lucide - Lucide.dev Icons for Phlex
π§° Updates
π§° RubyMine announced the release RubyMine 2024.2 Is Out!
π§° Stephen Margheim announced a new PR for Rails about SQLite non-GVL-blocking, fair retry interval busy handler by fractaledmind Β· Pull Request #51958 Β· rails/rails
π§° Jeremy Evans announced a new release for Roda, Roda 3.83.0
π§° Andrea Fomera announced a new version of RicherText Ruby Gem Changelog
π§° Gannon McGibbon submitted a new PR (that is now merged to Rails main) about Defer route drawing to the first request, or when url_helpers called
π§° Vitaly Slobodin announced a new version of Ruby - Zed integration
π§° Vinicius Stock announced a new version of Ruby LSP:
π§° Vladimir Dementyev announced a new version of Release 1.4.0 Β· test-prof/test-prof Β· GitHub
π§° Keshav Biswa announced a new version of useful_jekyll_scripts
π§° Samuel Williams announced a new Pull Request about Add route helper for websockets. by ioquatix Β· Pull Request #52169 Β· rails/rails
π€ Related (but not Ruby-specific)
π€ Scott Chacon shared on why it its a pull request and not push request
π€ Ted Nyman shared on how to improve backend performance
π€ Ryan Castillo shared how to easily add prefixes to files with bashβs bracket expansion
More content: π π π§ π₯ βπΎ
π Newsletters
πVipul A M published a new edition about Ruby on Rails ; Rails 7.2 released, Thruster by default for Rails 8, new Guides PRs, and much more! and about Deferred routes drawing, connect route helper and more
π Ruby Weekly published a new edition about Rails 7.2 released
π Hotwire Weekly published a new edition about Week 33 - RubyMine adds Stimulus Support, sharing Turbo Frames across views, and more!
π Awesome Ruby Newsletter published a new edition about Issue 430 - Sonic Pi: Ruby as a Composition Tool
π Sajjad Umar published a new edition of Ruby on Rails Monthly - August 2024
π§ Podcasts
π§ The Ruby on Rails podcast published a new episode about about The Ruby on Rails Podcast Episode 521: Euruko with Muhamed Isabegovic
π§ Dead Code Pod published a new podcast about Entangled Mess of Vines (with Stephanie Minn and Joel Quenneville) - Dead Code | Acast
π§ Euruko published a new podcast about The Ruby on Rails Podcast Episode 521: Euruko with Muhamed Isabegovic
π§ Andrew Mason published a new podcast about Authentication Generator in Rails 8, 20th anniversary of Rails, and more!
π§ Thoughtbot published a new podcast about The Bike Shed: 436: Creating Conditions For Your Best Work with Steph Viccari
π½οΈ π₯ Videos
π₯ Yaroslav Shmarov published a new video about SupeRails | Getting Started with Turbo Native in Ruby on Rails and about SupeRails | Rails 7.2 Rate limiting for Devise - Guard your app from spam and bots
π₯ Chris Oliver published a new video about How to use the Browser Guard in Rails and about Defer Job Enqueues After Transaction Commit in Rails 7.2 and about How to use Omakase Rubocop Linter/Formatter Rules for Rails
π₯ Drifting Ruby published a new video about Kanban from Scratch Part 2 | Drifting Ruby and about Have I Been Pwned
π₯ Ruby Argentina published a new video about Refactoring en Ruby: Elevating Code Quality Through Community And Practice
π₯ Phil Smy published a new video about Rails 7.2 RC1 is Here
π₯ Ken Greeff published a new video about Building a CRUD App with Next.js & Rails API
π₯ Thoughtbot published a new video about Resurrecting an Untouched Rails App
π₯ Jeremy Smith published a new video about Update from building Liminal
π₯ Arkency published a new video about Rebuilding read models. How to deal with concurrently published events?
π₯ Jason Swett published a new video about Adding Filter by Status - Live Coding on SaturnCI
βπΎ Articles
Whatβs new π
π Thomas Cannon published a new article about Fixing the Rails 7+ networking stack
π Vladimir Dementyev published a series of articles about TestProf β Start with TestProf: a good doctor for slow Ruby tests
π Andrew Atkinson published an article about Whatβs Coming in Ruby on Rails 7.2: Database Features in Active Record
π Andrew Atkinson published a new article about Madison+ Ruby 2024 Conference Recap
π Igor Alexandrov published a new article about Upgrading Rails application from 7.1 to 7.2 | Ruby & Beyond
π Evil Marians published an article about The SDK Imperative: why developer tools live or die by their SDKsβMartian Chronicles, Evil Martiansβ team blog
π Aaron Francis published a new article about An argument for logging off - Aaron Francis
π Mika Henriksson published a new article about how Kamal deploy renders site unresponsive
π The Ruby Dev published a new article about Rails 8 introduces a basic authentication generator - DEV Community
π Julian Rubisch published a new article about An Introduction to HTTP Caching in Ruby On Rails
π Dave Kimura published a new article about My Development Environment on macOS 15 Sequoia and about Rails 7.2 Upgrade Problems (of my own making)
π Anonoz Chong published a new article about Setup Guide for Ruby on Rails Testing on Github Actions with Minitest + Capybara + Chrome | OyenCov Blog & Guides
π Apoorv Tiwari published a new article about What Is New In Rails 7.2?
π Noel Rappin published a new article about What About Static Typing in Ruby?
π Kasper Timm Hansen published a new article about Why is Oaken: for your database seeds & test data
π Vitalii Yulieff published an article about Railing against time: tools and techniques that got us 5X faster tests
π Lucian Ghinda published an article about Proposal to change private method to work on Constants in Ruby
How-TOs π
π Ross Kaffenberger published a new article about How to Render CSS Dynamically in Rails
π Rails Designer published an article about Nested Forms With Turbo (without dependencies) and about Nested Layouts with Ruby on Rails | Rails Designer
π Steve Polito published an article about Conditionally render a Turbo Frame shared between multiple views
π Aysan Isayo published an article about From Code to Compliance: Accessibility Testing in Rails Applications
π Matt Brictson published an article about Build a modal form with Rails, Turbo, and the dialog element
π JoΓ«l Quenneville published a new article about Return an Enumerator When Your Collection Has Multiple Traversals
π Mika Henriksson published a new article about Taggable Array and about mhenrixon | A custom date picker
π Jon Sully published an article about Sidekiq (Infinitely) Iterable Jobs
π Sara Jackson published on how to Conditionally render a Turbo Frame shared between multiple views
π Landon Gray published a new article about Building a ChatGPT Clone with Ruby on Rails and Claude 3.5 Sonnet
π Renato Nitta published a new article about How to set up Rails 7 with Bootstrap - Renato Nitta
π Jospin Ndagano published a new article about Using Action Cable for Real-Time Applications in Ruby on Rails
πAndres Chacon published an article about Creating a REST API with Ruby on Rails. Chapter 3: Authentication and Authorization
Reply