- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #84
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
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
π 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
π Truffle Ruby announced a new version of Release TruffleRuby 24.0.0 Β· oracle/truffleruby
πAaron Patterson shared about optimizing delegates in Ruby:
π Steven R. Baker shared A demonstration of how you might implement a `context` helper for sharing state between tests when using the declarative `test` helper in ActiveSupport with the warning that it should not be used:
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
π Jared White shared Sponsor @jaredcwhite on GitHub Sponsors
π Ruby Central shared about the grant they received:
π Ruby On Rails shared rails rails Docs Β· Discussions
π 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:
The Hotwire Club | Learn Turbo and Stimulus together with fellow enthusiasts -by Julian Rubisch
The Rails and Hotwire Codex: Build an app for web, iOS, and Android by Ayush
Hotwired ATS: Modern, full-stack Rails 7 development by David Colby
Hotwire Migration - A React To Hotwire Migration Service by Pascal LalibertΓ©
π 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
π Stephen Margheim announced a new gem feather: Ruby library for working with SQLite elegantly
π Arjun Lall and Evgeny Li published a new gem bemi-rails: Robust data change tracking for Rails
π Obie Fernandez announced a new gem OpenRouter - Ruby library for OpenRouter API
π Kevin Newton announced a new gem onigmo: A Ruby wrapper around the onigmo regular expression library
π 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
π§° Okura Masafumi announced a new version for [Feat] Add the ability to change key for metadata by okuramasafumi Β· Pull Request #362 Β· okuramasafumi/alba
π§° Joel Drapper shared Improve performance by using bytesize when comparing if the string changed by davekaro Β· Pull Request #690 Β· phlex-ruby/phlex
π§° Kirill Platonov announced a new version of Release v2.0.0 Β· baoagency/polaris_view_components
π§° Any Cable announced a new version of Release 1.5.0-rc.1 Β· anycable/anycable-go
π§° Chris Oliver announced a new version of GitHub - excid3/noticed: Notifications for Ruby on Rails applications
π§° John Nunemaker announced a new version of Drop old ruby support by jnunemaker Β· Pull Request #799 Β· jnunemaker/httparty
π§° Jeremy Evans announced a new version of Rodauth 2.34.0 Released Β· jeremyevans rodauth Β· Discussion #399
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
π§ Ruby Rogues published a new podcast about Building Skills and Connections with Nathan Bellow - RUBY 629 - Ruby Rogues - Top End Devs
π½οΈ π₯ Videos
Screencasts
π₯ Igor Alexandrov published a new video about Episode #1 β Basecamp's Kamal code walkthrough
π₯ Dave Kimura published a new video about Episode 447 - Bulk Updates | Drifting Ruby
π₯ Roland Lopez published a new video about [EP 11] High level intro to build a customiZed chat-gpt AI app using Ruby On Rails and Turbo
π₯ Dean De Hart published a new video about Live Coding with Jose Farias from 37Signals - Hotwire Combobox Gem and about Dev Containers - New To Rails 8! and about The Open3 Gem in Rails for Background Processes
π₯ Sam Johnson published a new video about How to setup a Postgres streaming replica with Kamal
π₯ Yaroslav Shmarov published a new video about SupeRails #163 Instant page loads with Turbo 8 prefetch
π₯ Cezar Halmagean published a new video about Building a Property Management System (live stream)
π₯ Rubyconftw published a new video about RubyConf Taiwan 2023
π₯ Jose Farias published a new video about Ruby on Rails Live Coding | Maybe Finance | Swappable Data Providers
βπΎ Articles
Whatβs new π
Jeremy Friesen published an article about Refactoring a Ruby Module Mixin into a Class
Caleb Hearth published an article about Write cleaner, self-documented tests by defining methods in RSpec
I published an article about Endless Method Syntax History and about Ruby Benchmark: Data.define, Struct, OpenStruct
Eric Berry published a new article about Awesome Hotwire
Julik Tarkhanov published a new article about Testing a Thousand Applications With Flipper
Thomas Riboulet published an article about Good Database Migration Practices for Your Ruby on Rails App using Strong Migrations
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