Short Ruby News - Edition #84

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 

πŸš€ New Products

πŸš€ Prabin Poudel launched Zero Config Rails

πŸš€ PaweΕ‚ DΔ…browski launched Buildless.app

πŸš€ Guillaume launched the new documentation for Stimulus Components

πŸ“… Events

πŸ“… Red Dot Ruby Conf announced that RedDotRuby conference is back β†’ RDRC 2024

πŸ“… Muhamed IsabegoviΔ‡ shared they lowered the minimum prices for EuRuKo

πŸ“… Ruby For Good announced the registration is open for Ruby for Good 

πŸ“… African Ruby Community announced the CFP is open at PaperCall.io - Ruby Conf Africa 2024

πŸ“… Madison+ Ruby announced CFP is open at Madison Ruby: Your Ruby Community

πŸ“… Helvetic Ruby announced the speaker lineup  Helvetic Ruby | 17th of May 2024, ZΓΌrich

πŸ‘‰ All about Code and Ruby

πŸ’» Code Samples

πŸ‘‰ Γ‰tienne BarriΓ© and Jean Boussier added a commit to Ruby 3.4-dev Implement chilled strings Β· ruby/ruby@12be40a

Jean Boussier shared a bit more about this:

And you can read the feature proposal at Enable `frozen_string_literal` by default

πŸ‘‰Aaron Patterson shared about optimizing delegates in Ruby:

Here is the main part of the gist but I think you should read it all:

πŸ‘‰ Hans Schnedlitz shared a tip about the aliasing method in Thor:

πŸ‘‰Nicolas Buduroi shared about using presence_in:

πŸ‘‰ Casper Klenz Kitenge shared about the fact that Rails render looks also in app/views/application and can be used for shared partials:

πŸ‘‰ Matheus Richard shared about configuring ActiveRecord::QueryLogs - Ruby on Rails API

Here is a similar example shared by RubyCademy:

πŸ‘‰ Onur ΓΆzer shared how to use Rails helpers to generate all days of a year:

And Benedikt Deicke shared another helper:

πŸ‘‰ David Colby shared about adding the refresh/scroll position meta tags for Turbo:

πŸ‘‰ Ruby Cademy shared a code sample about using Rails enum validation:

Rails also shared the a code sample for validating enums:

πŸ‘‰ Dima Fatko shared a code sample about Shitlist Driven Development

πŸ‘‰ Facundo Espinosa  shared about the auto scroll working for turbo frames not working when the first child is not generating any box:

πŸ‘‰ Maxim Krizhanovski shared that x&.&foo is a valid Ruby syntax:

πŸ‘‰ Jorge Manrubia shared a code sample about working with date/time:

πŸ‘‰ David Colby shared about turbo refreshes:

πŸ‘‰ Dave Kimura shared about attribute::attachement that can be used in generators:

πŸ‘‰ Joel Drapper shared about selective rendering:

πŸ‘‰ Maxim Krizhanovski shared about active_record_block_matchers:

πŸ‘‰ Tom shared how they use then:

πŸ‘‰ Ruby Cademy shared a tip about generating a new rails app with minimal configuration:

πŸ‘‰ Prabin Poudel shared a code sample about impersonating users with token base authentication:

πŸ‘‰ Josef Strzibny shared about upgrading to Rails7 with Turbolinks and Sprockets:

πŸ‘‰ Cameron Dutro asked a question about trying to access an array with a float index:

πŸ‘‰ Landon Gray shared a code sample about supporting Retrieval Augmented Generation in Ruby apps:

πŸ“ Thinking about Code Design

πŸ‘‰ Joel Drapper shared how they are streaming Rails error page in development:

πŸ‘‰Nithin Bekal shared about metaprogramming:

πŸ‘‰ Greg Molnar asked about writing security tests:

πŸ‘‰ Robert Pankowecki shared about sanitizing user html:

One other take on this:

πŸ‘‰ John Mc Dowall asked about patterns for handling multi-step user on-boarding:

Here are some replies:

πŸ‘‰ Bhumi asked about the difference between view and template:

Here are some replies:

πŸ‘‰ Michael Chaney asked about why OpenStruct is much slower:

Jean Boussier answered:

πŸ‘‰ Joel Drapper shared about the need to cache:

Here are some replies about this:

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

πŸ‘‰ Ruby On Rails shared about Rails Guides get a facelift

πŸ‘‰ Ruby Central shared about the grant they received:

πŸ‘‰ PaweΕ‚ DΔ…browski shared that the first 3 chapters are available for free at Ruby on Rails on AWS

πŸ‘‰ Ernesto Tagwerker shared  their slides from Sin City Ruby about Stuck in the Tar Pit at Sin City Ruby '24

πŸ‘‰ Alexandre Ruban shared that their tutorial about Hotwire reached 1M page views:

πŸ‘‰ Josef Strzibny asked about who is creating paid content for Rails front-end and Hotwire:

Here are some of the replies:

πŸ‘‰ Scott Werner shared Blueprints for Phlex and DaisyUI

❀️ Why Choose Ruby

❀️ The Rails Changelog asked about reasons for picking Ruby on Rails over other web frameworks:

Josh Brown replied with:

❀️ Rafael PeΓ±a Azar shared that Ruby and Crystal can be used for more than web development:

❀️  Schappi shared about using Ruby on Rails framework:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

πŸ†• Rafael FranΓ§a announced a new repo rails/rails-new

🧰 Updates

🧰 Hiroshi SHIBATA announced two vulnerabilities on StringIO gem:

🧰 David Rodriguez announced a new release of RubyGems:

🧰 Alan Wu merged a PR to Ruby about YJIT: Avoid leaks by skipping objects with a singleton class

Related to this Andrei Maxim shared a performance graph:

🧰 David Heinemeier Hansson announced that solid_queue is now moved to Rails: rails/solid_queue: Database-backed Active Job backend

🧰 Rosa Gutierrez merged a new PR to Solid Queue about Add support for recurring tasks (cron style jobs)

She also added support to Mission Control Job Expose recurring jobs

🧰 Any Cable announced a new version of Release 1.5.0-rc.1 Β· anycable/anycable-go

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

πŸ—ž Newsletters

πŸ—ž Vipul A M published a new edition of This Week in Rails about Rails guides facelift, two new official gems and more!

πŸ—ž Hotwire Weekly published a new edition about Week 12 - New Turbo Native Releases, sortable tables with Turbo 8, and more!

πŸ—ž Ruby Weekly published a new edition about Chilling out with Ruby strings

πŸ—ž Ruby LibHunt published a new edition about Awesome Ruby Newsletter - Issue 409, Mar 21, 2024

🎧 Podcasts

🎧 Yaroslav Shmarov published a new podcast about Why Detroit?! Meet Ufuk, the secret organizer behind Rails Conf 2024 - Friendly Show

🎧 The Bike Shed published a new podcast about The Bike Shed: 419: What's New in Your World? (Extended Edition)

🎧 Indie Rails published a new podcast about IndieRails | Crafting Service Offerings

🎧 Chris Oliver published a new podcast about RailsConf 2024 with Ufuk Kayserilioglu - Remote Ruby

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

Screencasts

πŸŽ₯ Dave Kimura published a new video about  Episode 447 - Bulk Updates | Drifting Ruby

πŸŽ₯ Sam Johnson published a new video about How to setup a Postgres streaming replica with Kamal

πŸŽ₯ Rubyconftw published a new video about RubyConf Taiwan 2023

✍🏾 Articles

What’s new πŸ†•

Jeremy Friesen published an article about Refactoring a Ruby Module Mixin into a Class

Eric Berry published a new article about Awesome Hotwire

Julik Tarkhanov published a new article about Testing a Thousand Applications With Flipper

Deep Dives πŸ”

Noel Rappin published a new article about  Better Know A Ruby Thing #5: Block Arguments

Justin Searls published an article about  How to control Time in Ruby on Rails

David Colby published a new article about Turbo 8 morphing refreshes on Rails

How-TOs πŸ“

Greg Molnar published an article about Brute-forcing 2FA with Ruby

Miles published a new article about Automated Database Backups with Kamal

Damian C. Rossney published an article about Full Stack Hanami, Part 1, Full Stack Hanami, Part 2, and Full Stack Hanami, Part 3

Ismael Celis published an article about Practical Railway-Oriented Pipelines in Ruby

David Colby published an article about Building a sortable table with Turbo 8's page refreshes

Shinsoku published a new article about Understand the difference between untyped, void, top, and bot of RBS - JP (EN version translated with Google translate)

Jan Grela published a new article about SQL views in Ruby on Rails - Blog - Visuality

James Hibbard published a new article about Using dry-validation with Grape

Borja Garcia De Vinuesa OrdovΓ‘s published a new article about Flexible Enum Definitions in Ruby on Rails: Planning for the Future

David Boureau published an article about Ruby regex guide

Jijo Bose published an article about Rails 8 adds allow_browser to set minimum browser version

Related

Niki published an article about JavaScript Bloat in 2024

Michael Buckbee published a new article about How to block AI bots from scraping your site

Reply

or to participate.