You can jump directly to a section:
๐ New Products & ๐ 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)
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ (articles, podcasts, videos, newsletters)
๐ New Products
๐ย Vladimir Dementyevย launchedย Ruby Warrior running in browser:
๐ย David Copelandย launched Sustainable Dev Environments
๐
Events
๐ RailsConf 2024 has a flash sale that will end today (Monday 15 April):
๐ ย Ruby Kaigiย announced theย Schedule and CFP for Lightning Talks is now open
๐ If you plan to submit your talk for a conference check out rubyconferences.org/cfp
๐ All about Code and Ruby
๐ป Code Samples
๐Nicolas Buduroiย sharedย about implementing deep_freeze on Object by using Ractor make_shareable method:
๐ย Julian Rubischย sharedย two code samples to convert images to webp and create thumbnails from them (check the gist here):
๐ Lori Olsonย sharedย ย a code sample about sending ebooks to Kindle
๐ย Dima Fatko asked about why to freeze constants in Ruby:
Here are some replies:
Jean Boussierย shared a fix forย Don't use a mutable constant as Rack response ยท whitequark/rack-utf8_sanitizer@f2bcf86
๐ย Adam Riceย sharedย about the value of PROGRAM_NAME in rails console:
๐ย Joel Drapperย sharedย about how they implemented the efficiency option in Quickdraw:
๐ย Prabin Poudelย asked about use cases for using Proc and Lambda in real applications:
Here are some replies:
๐ย Ruby Cademyย sharedย
๐ย Dima Fatkoย sharedย a code sample from a feature merged to Rails main โ Allow `ActiveRecord::Base#pluck` to accept hash values by fatkodima ยท Pull Request #51565 ยท rails/rails
๐ Vidar Hokstad shared an explanation about how meta classes work in Ruby:
๐ย Kristian Freemanย sharedย a code sample showing how to use prexied_ids gem:
๐ Thinking about Code Design
๐ย Zaruย sharedย about the performance improvements gained from upgrading to Ruby 3.3:
๐ย Nate Berkopecย sharedย about caching:
๐ย Ryan Batesย asked about what is more straightforward to debug:
Here are some replies:
๐ย Jaredmoodyย asked about Phlex and vanilla path in Rails:
Joel Drapperย replied (you should read the entire thread shard by Joel):
๐ย Gavin Morriceย sharedย about avoiding global state:
Michael Chaneyย replied that one of the cases is for current user:
๐ย Nate Berkopecย sharedย about making the browser the focus when thinking about performance:
๐ย Ryan Batesย sharedย about Rails engines as not being the right abstraction for a gem:
Gavin Morriceย replied, sharing their experience about modularizing a monolith with Rails engines:
๐ย Ryan Batesย sharedย about using class methods over POROs:
๐ย Donn Felkerย sharedย about replacing third-party stimulus controller with Hotwire for autocomplete:
๐ย Matheus Richardย asked about adding modules to a route:
Here is a possible solution:
๐ย Brad Gesslerย invited people to think twice before using STI in Rails:
Here are two other perspectives:
๐ย Ross Kaffenbergerย sharedย about testing API wrappers:
๐ย Jason Swettย asked about the definition of PORO:
Here are some replies:
๐ก Around code (news, findings, books and more - all about Ruby)
๐Mohit Sindhwaniย sharedย about running Rails 7.2 alpha and Ruby 3.3 on regular Window:
๐ย Dhaval Singhย sharedย about learning Ruby:
๐ David Colbyย asked about in person Ruby meetups:
Matt Swansonย suggested a way to re-start in person meetups:
๐ย Carlos Antonioย sharedย that Devise support for Rails 4.1 and Ruby 2.1 will go away soon:
๐ย Alex Rudallย shared their projectย alexrudall/ruby-openai: OpenAI API - reached 10 million downloads:
๐ย Andrei Bondarevย sharedย about Langchain hitting 1k stars on Github:
๐ย Irina Nazarovaย sharedย about Anycable capabilities:
๐ย Ross Kaffenbergerย sharedย about the history of naming Capybara:
โค๏ธ Why Choose Ruby
โค๏ธ ย Andi / ใขใณใใฃย sharedย about Ruby elegance and simplicity:
โค๏ธ Andrew Hodsonย sharedย about Rails community:
โค๏ธ ย Jared Normanย sharedย about hype cycle and Ruby
โค๏ธย Mark Heskethย sharedย about the stack that makes them happy:
โค๏ธย Maciek Rzฤ saย sharedย a quote from Wroclove.rb
โค๏ธย Josh Pigfordย sharedย about AI-assisted programming working better for Rails:
๐งฐ Gems, Libraries, Tools and Updates
๐ New Gems and Repos
๐ Wouter Coppieters published a new gem called crystalruby - Embed Crystal code directly in Ruby
๐ Samuel Williamsย published a new gem called Async::Ollama - Provides an interface for accessing the Ollama HTTP interface
You should check the Ollama example PR that Samuel created to show how it works.
๐ Johny Hoย announced a new gem called form_props - The power of Rails forms for React
๐ RailsDesigner published a new gem called rails_icons - Add SVG icons from multiple libraries, or your own custom icon set, with this one gem
๐งฐ Updates
๐งฐย Stephen Margheimย announced a new version ofย fractaledmind/solid_errors - database-backed, app-internal exception tracker for Rails applications
๐งฐย Heartcomboย announced a new version ofย Devise version 4.9.4
๐งฐย Stephen Margheimย announced a new version ofย GitHub - fractaledmind/activerecord-enhancedsqlite3-adapter: ActiveRecord adapter for SQLite that enhances the default. Back-ports generated column support, deferred foreign key support, custom foreign key support, improved default configuration, and adds support for pragma tuning and extension load
๐งฐ Ben Sheldon shared they updated the documentation for good_job: Multithreaded, Postgres-based, Active Job backend for Ruby on Rails.
๐งฐย Bozhidar Batsovย announced a new version ofย Release RuboCop 1.63 ยท rubocop/rubocop
๐ Keep an eye on
๐ Aaron Pattersonย shared a PR aboutย ย Optimized forwarding callers and callees by tenderlove ยท Pull Request #10510 ยท ruby/ruby. Read the proposal on Ruby issue tracker
๐ ย Jean Boussierย shared a PR proposed for Minitest about Werror mode? - Turn warnings into errors ยท Issue #990 ยท minitest/minitest
๐ค Related (but not Ruby-specific)
๐คย ย Paweล Dฤ browskiย sharedย about their experience:
๐คย Stefan Judisย sharedย How to display language-specific quotes in CSS
๐คย Anton Zhiyanovย sharedย GitHub - nalgeon/redka: Redis re-implemented with SQLite
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ
๐ฝ๏ธ Slides
๐ฝ๏ธย Andrey Novikovย shared their slides from RubyConf AU aboutย Threads, callbacks, and execution context in Ruby
๐ฝ๏ธย Radoslav Stankov shared their slides from Wrclove.rb aboutย Component-Driven UI with ViewComponent Gem
๐ Newsletters
๐ย Greg Molnarย published a new edition of This Week in Rails aboutย A week of fixes
๐ Ruby Weekly published a new edition about Crystal in yourย Ruby
๐ Ruby LibHunt published a new edition aboutย Awesome Ruby Newsletter - Issue 412, Apr 11, 2024 | LibHunt
๐Hotwire Weeklyย sharedย ย Week 15 - HTML Streaming over the Wire, AnyCable in real apps, and more!
๐ง Podcasts
๐งย Ruby For Allย published a new podcast aboutย Coding Campfires โ Unplugged Adventures at Rails Camp West with Bobbilee Hartman | Ruby for All | Episode 65
๐งย The Bike Shedย published a new podcast aboutย The Bike Shed: 422: Listener Topics Grab Bag
๐งย Ruby Roguesย published a new podcast aboutย Navigating the Changing Tech Landscape with Fabio Akita - RUBY 631 - Ruby Rogues - Top End Devs and aboutย The Power of Turbo Native with Ayush Newatia - RUBY 632
๐งย Remote Rubyย published a new podcast aboutย Code, Confessions, and Casinos - Sin City Ruby - Remote Ruby
๐ง The Ruby on Rails Podcast published a new episode about ย The Ruby on Rails Podcast Episode 513: Modern Rails Apps Ayush Newatia
๐ฝ๏ธ ๐ฅ Videos
Screencasts
๐ฅย Drifting Rubyย published a new video aboutย Episode 451 - Windows and WSL | Drifting Ruby and about Episode 452 - Tags from Scratch | Drifting Ruby
๐ฅย Igor Alexandrovย published a new video aboutย Episode #2 โ Maybe, open-source personal finance Rails app
๐ฅย Jason Swettย published a new video aboutย An Explanation of Docker and Docker Compose (Plus Live Coding on SaturnCI) and about Figuring Out the Domain Model - Mentorship Session with Josh Cutts
๐ฅย Chris Oliverย published a new video aboutย RORO Sydney โ A fireside chat with Chris Oliver โ April 2024
๐ฅย Dean De Hartย published a new video aboutย Kamal Traefik Dashboard for Ruby on Rails 7
๐ฅย Cezar Halmageanย published a new video aboutย Building a Property Management System (live stream)
โ๐พ Articles
Whatโs new ๐
ย Gift Egwuenu published a new article aboutย March 2024 RubyGems Updates
Koichi Sasadaย published an article aboutย Am I the only one who doesnโt put parentheses around the parameters in Ruby method definitions?
Nithin Bekalย published an article aboutย Abstract methods and NotImplementedError in Ruby
paiza.jp published an article about Ruby was said to be dead and Rails was said to be obsolete, but it has come back to life (read the original in JP)
Shun Sugai published a new article about Became a Ruby 3.3.0+YJIT production operation company - translated with Google Translate (read the original in JP)
Siddharth Shringi published an article aboutย Rails 8 adds Rubocop by default to new applications
Ruby Association published a new article aboutย JetBrains Supports the Ruby Ecosystem With Ruby Association Sponsorship
Josef Strzibny published a new article aboutย How I wrote Kamal Handbook in 5 weeks and sold 300+ copies at the same time
RoRvsWild published an article aboutย Super Fast Rails โ A promise given is a debt
Jason Zimdars published an article about Modern CSS patterns in Campfire
Stephen Margheim published a new article aboutย SQLite on Rails: Isolated connection pools
How-TOs ๐
Fiona Lapham published an article aboutย How to Build a Discord Bot in Ruby on Rails
Aestimo Kirina published an article aboutย Account-based subdomains in Rails
Svyatoslav Kryukov published an article about Let there be docs! A documentation-first approach to Rails API development
Kevin Baribeau published an article aboutย Work around Rails schema noise with one weird trick
Dumebi Okoloย published an article aboutย Simple Authentication in Ruby on Rails: a step by step guide
Kevin Murphyย published an article aboutย Making a (Sidekiq) Batch Recipe
RailsDesigner published an article aboutย Guide to Slots in Railsโ ViewComponent
Alkesh Ghorpadeย published an article aboutย Maximizing Code Quality with Rails Pre-Commit and Pre-Push Hooks
Youssef Boulkaidย published an article aboutย Hands-off eclipse photography with ruby and gphoto
Deep Dives ๐
Akshay Khotย published an article aboutย How I Read Rails Source Code
Mathieu Eustachyย published an article aboutย Process management in Ruby