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 and ๐ Keep an eye on
๐ค Related (but not Ruby-specific)
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ (articles, podcasts, videos, newsletters)
[Promo โฌ] RailsConf
RailsConf 2024 is the world's longest-running gathering of Rails developers, brought together to further discussion and learning about building, managing, and testing Rails apps. This yearโs line up of speakers have been selected to give attendees real-life, practical, insights into building and running Rails apps and teams.
Donโt miss this chance to learn, network, and explore Detroit with us this year! Enjoy iconic museums and street art, a rich food and music scene, and socializing with fellow Rails developers in the one and only Motor City.
๐ Events
๐ Xavier Noriaย sharedย they will be at HackDay at RailsConf:
๐ Ruby Kaigi announced the addition of more social Events to the list.
๐ ย Ruby On Railsย invited us toย Subcribe to Rails Foundation Events
๐ ย Landon Gray invited Ruby Meetup or Local Ruby Conference to a conversation about how Ruby Central can help:
๐ All about Code and Ruby
๐Jean Boussierย sharedย that Shopify is running their monolith on Ruby 3.4-dev in production:
He also added:
๐ย David Heinemeier Hanssonย sharedย about the future of Rails:
๐ย Stephen Margheimย sharedย about SQLite:
David Heinemeier Hanssonย added:
And a bit more about other tools used at Basecamp:
๐ป Code Samples
๐ย Greg Molnarย sharedย about transaction callbacks in Active Record:
๐ย Ruby Cademyย sharedย about using - modifier to remove leading whitespaces:
๐ย Joel Drapperย sharedย a code sample showing how to implement a badge with Phlex:
Here are alternative implementations of the same badge with Rails helpers:
๐ย Matt Swansonย sharedย Turbo streams tips and tricks:
๐ย Colleen Schnettlerย sharedย about broadcasting turbo stream and removing a SVG when the next broadcast starts:
๐Nithin Bekal shared on how to avoid interpolation in Ruby from Ruby Heredocs | Alchemists
๐ Nick Schwaderer shared on writing an external link within turbo_frame_tag
๐ Ruby Cademy shared about enum validation introduced in Rails 7.1
๐ Mika Henriksson shared about comparison validations in models
๐ Ruby On Rails shared on how to specify a parent class for the job using --parent option of job generator
๐ Ruby Cademy shared about dependent:destroy_async
option to delete the associated collection in a background job
๐ย Greg Molnarย sharedย about Rails 8 built-in rate limiter:
He later shared a PR aboutย Refactor `ActionController::RateLimiting` to use `AS::Cache` by casperisfine ยท Pull Request #50781 ยท rails/rails
๐ย Mika Henrikssonย sharedย a code sample showing a way to parse Date:
๐ย Matt Swansonย asked about using metaprogramming instead of a case statement for a code sample:
Here are some replies:
๐ย Josef Strzibnyย sharedย about adding a service in Docker compose to access the main Rails app:
๐ย Colleen Schnettlerย sharedย 3 options for implementing a turbo pattern to update other elements from the page:
Here are some replies:
๐ย Jack Culpanย sharedย a code sample to connect to Cloudflare workers:
๐ย Justin Searlsย sharedย a gist about recursive validation: Is this overkill? Is there some other nice way to do this?
๐ย Marc Kรถhlbruggeย sharedย a code sample about importing production DB to localhost:
๐ Thinking about Code Design
๐ย Nate Berkopecย sharedย their workflow for micro-optimizing by using rubyatscale/singed: Get a flamegraph anywhere in your code base
๐ย Joel Drapperย sharedย about building views in Ruby instead of HTML:
Here are some replies:
๐ย Joel Drapperย sharedย about how to familiarize with a new Rails codebase:
๐ย Mohit Sindhwaniย sharedย about running logs along with ORM:
๐ย Greg Molnarย shared an advice about having a strong password:
๐ย Kevin Newtonย sharedย about using Prism to parse Ruby code:
๐ย Michael Chaneyย sharedย about straightforward code:
๐ย Mika Henrikssonย sharedย about service objects:
Here are some replies:
๐ย Dave Thomasย sharedย about Rails using encrypted credentials:
๐ย Mika Henrikssonย sharedย about turbo frames and tab-like form flows:
๐ย Joel Drapperย sharedย a benchmark about view layer in Ruby:
๐ย Jesse Van Der Pluijmย shared about creating a gem and asked about how to load dependencies:
Here is a reply from Xavier Noria:
and here is a reply fromย Samuel Williams
๐ย Jason Swettย sharedย about Rails conventions:
๐ก Around code (news, findings, books and more - all about Ruby)
๐ Jose Farias shared about his method to look at fields in an ActiveRecord
Joel Moss shared VSCode extensions that could be used to achieve the same:
๐ Justin Collins shared on security vulnerabilities in ruby on rails:
๐ย Ted Nymanย sharedย about Github infrastructure:
โค๏ธ Why Choose Ruby
โค๏ธย Nate Hopkinsย sharedย about Ruby being used in AI:
โค๏ธ ย Mehdi Farsiย sharedย about Rails helps with shipping fast:
โค๏ธย Andrew Hodsonย sharedย about Rails 8 security:
โค๏ธ Ama Niย sharedย about Rails having so many sensible features:
๐งฐ Gems, Libraries, Tools and Updates
๐ New Gems and Repos
๐ Harry Lascelles announced a new gem called dememoize - A rubygem to remove memoized values (instance variables) for easier testing
๐ Benjamรญn Silva H. announced the release of a new gem sidekiq_job_controller.
๐ย Dr Nic Williamsย announced a new gem groq-ruby: Groq Cloud runs LLM models fast and cheap. This is a convenience client library for Ruby.
๐ Lloyd Watkin published a new gem called janus-ar - A read/write ActiveRecord database adapter
๐งฐ Updates
๐งฐย Joel Drapperย announced an update for Phlex about fixing Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags
๐งฐ Avo announced a new version (3.6) of Avo. Watch the release video.
๐งฐย Stephen Margheimย announced a new version ofย Update to Litestream gem | Fractaled Mind
๐งฐ Bozhidar Batsov announced a new version Release of RuboCop 1.63.2 ยท
๐งฐ Mari Imaizumi announced a new version of Release v0.5.2 ยท ruby/reline
๐งฐ Mike Dalessio announced a new version Release 2.0.0 sparklemotion/sqlite3-ruby
๐ Keep an eye on
๐ You can check the subjects that will be discussed at Ruby DevMeeting at RubyKaigi 2024
๐ Jean Boussier proposed a new feature to Ruby about Emit a performance warning when specially optimized core methods are redefined
This was accepted by Yukihiro Matsumoto.
๐ค Related (but not Ruby-specific)
๐คย Irina Nazarovaย sharedย about open source:
๐คย David Heinemeier Hanssonย sharedย about choosing Ruby:
๐คย Stefan Judisย published a new edition aboutย ordered list start property:
๐คย Ben Orensteinย sharedย about pairing:
ย ๐ค Joost De Valk shared about popup modals:
๐คย Pascal Lalibertรฉย sharedย
๐คย Jason Swettย sharedย
๐คย Amree Zaidย sharedย about sorting on Redis:
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ
๐ Newsletters
๐ Vipul A M published a new edition about ActiveRecord::Base#pluck accepts hash values, devcontainers improvements and more!
๐ Ruby Weeklyย published a new edition aboutย Making SQLite faster in Rails apps
๐ย Ruby LibHuntย published a new edition aboutย Awesome Ruby Newsletter - Issue 413, Apr 18, 2024
๐ย Hotwire Weeklyย published a new edition aboutย Week 16 - Turbo Overview Guide, Turbo Native pull-to-refresh, and more!
๐ Ruby Centralย published a new edition aboutย April 2024 Newsletter
๐ Sajjad Umar published a new edition aboutย Ruby on Rails - April 2024
๐ง Podcasts
๐ง Code And The Coding Coders Who Code It published a new podcast Episode 34 with Ufuk Kayserilioglu
๐ง Indie Rails published a new podcast about IndieRails | Ben Wood & Nate Vick - Adapt and Evolve: Navigating Entrepreneurial Transitions
๐ง Ruby For All published a new podcast about RailsConf 2024 Countdown โ Behind the Scenes with Kevin Murphy | Episode 66
๐งย Ruby Roguesย published a new podcast aboutย Adrian Marin - Avo - Rails content management system
๐ฝ๏ธ ๐ฅ Videos
Screencasts
๐ฅYaroslav Shmarov published a new video SupeRails #165 Manage active sessions. Security feature on enhancing security of your application.
๐ฅ Dev Tester published a new video on Automating Rubocop Into Your Rails Development Workflow
๐ฅ GoRails published a new video on One Time Payments With Pay And Stripe (Example)
๐ฅ The Bike Shed released a new episode The Bike Shed: 423: Cognitive Strategies for Coders
๐ฅ Aaron Pattersonย published a new video aboutย Pairin' with Aaron: Hacking on YJIT
๐ฅย Cezar Halmageanย published a new video aboutย Building a Property Management System (live stream)
๐ฅย Dean De Hartย published a new video aboutย Realtime Docker API Gem with Xterm Logs for Rails
๐ฅย Drifting Rubyย published a new video aboutย Episode 453 - Exporting ICS Files | Drifting Ruby
๐ฅย Jason Swettย published a new video aboutย The Docker Registry Cache Finally Works! - Live Coding on SaturnCI
โ๐พ Articles
Whatโs new ๐
Obie Fernandez published a new article aboutย The Future of Ruby and Rails in the Age of AI โ โThe good news I want to share is: not only will Ruby and Rails survive this AI revolution, Rubyists will pioneer the most revolutionary application development approaches of the coming eraโ
Vitalii Elenhauptย published an article aboutย Avo custom fields
Stephen Margheim published an article about SQLite on Rails: The how and why of optimal performance and aboutย Update to Litestream gem
Kevin Newton published a new article about Prism in 2024
Remi Mercier published an article about Delegated types in Rails. โDelegated types in Rails are a modelization pattern introduced to handle situations where a single model class needs to represent multiple distinct types of objects with their own attributes and behaviorsโ
Annastacia Kioko published an article about Integrating Africaโs Talking (SMS) in your Rails Application.
Matheus Richard published an article about Faster Tests With Capybara and Request Specs. โSystem specs are cool, but can be slow and flaky. Request specs can be good enough if you add the right seasoning to them.โ
Greg Molnar published an article about Active Record transaction callbacks.
Brooke Kuhlmann published a new article about Ruby Heredocs.
Andrew Atkinson published a new article on Use Cases for Merging and Splitting Partitions With Minimal Locking in PostgreSQL 17
Andrei Maxim published a new article on Instance Variable Access in Ruby
Greg Molnar published a new article The tale of an XSS in Phlex
Kingsley Chijioke published an article on Handling Exceptions in Grape for Ruby โGrape is a popular Ruby framework for building RESTful APIsโ
Noel Rappin published a new article aboutย Conway's Law
Sally Hall published an article aboutย Enum validations and database constraints in Rails 7.1
How-TOs ๐
Kevin Murphy published a new article about Making a (Sidekiq) Batch Recipe
Justin Searls published an article on how to Fix your Rails Fixtures with this one neat trick
RailsDesigner published an article aboutย ViewComponent over Turbo Stream Broadcasts
Mohit Sindhwaniย published an article aboutย JRuby 9.4 on Windows: Day 0 - install and Hello World
Tim Rileyย published an answer about how toย ย Programistically choose a layout for Hanami::View
Elvinas Predkelisย published an article aboutย Ruby on Rails: Native route constraint for authentication
Andres Chaconย published an article aboutย (translated with Google Translate) authenticate_by: Prevenir la enumeraciรณn de usuarios basada en tiempos de respuestas (original in ES authenticate_by: Prevenir la enumeraciรณn de usuarios basada en tiempos de respuestas)
Olly Headey published a new article aboutย Rails, Assets, ActiveStorage and a Cloudfront CDN
Yaroslav Shmarov published a new article aboutย Manage active sessions in Rails 2024
Vincent Ritter published a new article aboutย Sanitising content before render
Dom Christieย published an article aboutย Turbo Refreshes, Frames, and Streams
Mohit Sindhwaniย published an article aboutย Fix: Rails main Rubocop Error on Windows
Povilas Jurฤysย published an article aboutย FactoryBot: the secret weapon called @overrides
Toby Osbourn published an article aboutย Forcing a Rails database column to be not null
Deep Dives ๐
Akshay Khotย published an article aboutย From a Lorry Driver to Ruby on Rails Developer at 38