- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #79
Short Ruby News - Edition #79
Find out about new products launched, events and code samples along with library updates. A lot is happening each week in Ruby.
Nitter is not working anymore. So far I could not find a reliable alternative to provide links to Twitter posts for anyone that does not have an account.
You can jump directly to a section:
π New Products & π Events
π€ Related (but not Ruby-specific)
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
π New Products
π Svyatoslav Kryukov launched RunRuby.dev:
π Julien Bourdeau launched a Debugbar For Ruby on Rails
π Andi / γ’γ³γγ£ launched Ruby Koans in the Browser
π Harrison Broadbent launched their Rails started kit: Save 16+ hours building Ruby on Rails apps | RailsNotes UI Starter Kit
π Events
π African Ruby Community announced the dates for the RubyConf Africa:
π Madison+ Ruby announced a new conference Madison Ruby: Your Ruby Community happening on 1&2 August in Madison, WI, USA:
π Ruby Central will create a directory of all active Ruby meet-ups β Register Your Ruby Meet-Up
π All about Code and Ruby
π mruby released version 3.3
π Ruby On Rails shared a tip about capture_emails test helper:
π Amanda Brooke Perino announced the Rails Foundation is working with a UX designer to improve Rails Guides:
π Robert shared about how to generate JSON for huge numbers:
πAndi shared a code sample from Ruby.wasm quickstart showing how to render Github page in the browser:
π Vladimir Dementyev shared about running Rails/Hotwire application in the browser:
π Mohit Sindhwani shared a code sample about using nested interpolation:
πMarco Roth shared a code sample showing an AST that they plan to use in Stimulus LSP:
πSharon Rosner shared a code sample showing how to use Anonymous Block Forwarding in Ruby in Ruby and linked to an article from Akshay Khot about this feature:
π Andrei Maxim shared a code sample showing how to use StringInquirer:
π Casper Klenz Kitenge shared a code sample showing a controller implemented in Rails:
π Peter Solnica asked about using format.html/format.json or using separate controllers:
Here are some replies:
π Josef Strzibny shared a code sample about determining published_at as column to define scopes:
π Greg Molnar shared an advice about MFA flow:
π Bhumi shared about Page Refresh:
π Mike Ray Arriaga shared a code sample about small table pagination:
π Dean De Hart shared about using Rails for starting your own business:
Here are some more tweets about Rails and Turbo:
π Guillaume shared that Stimulus Components passed 800 stars and 5.4 million downloads:
π Hans Schnedlitz shared a code sample about creating your own generators:
π Greg Molnar shared a tip about securing password-based authentication:
Here is another security tip from Greg:
π Jason Nochlin shared a code sample showing how to implement a simple state machine:
π Adam Mc Crea shared a tip from their article about Scaling Sidekiq
π Ruby Cademy shared a code sample about using becomes:
π Marc KΓΆhlbrugge shared a tip from Server-Timings: Rails performance metrics in your dev tools
π PaweΕ Pacana shared a code sample about using Fibers in testing (I only added here a part of the code sample they shared):
π Fabian shared a tip about sending a web request from Rails console:
π Cody Norman shared an alias for searching rails routes with fzf:
π HeadlineINeed asked about Rails:
Following the conversation here, there are good pieces about why people like Rails and also what might be missing from the ecosystem. Here are a couple:
π Matt Swanson shared a code sample about hiding some content when the app is rendered from an iframe:
π Mike Ray Arriaga shared a tip about re-running a function when an element is updated:
π Rails Ui asked about using Rails partials and helpers:
Here are some replies, but there are more there and it is worth reading the arguments from all sides:
π Hasumi Hitoshi shared that the picoruby repo reached 500 starts picoruby: PicoRuby is the smallest Ruby implementation for one-chip microcontrollers
π Marc KΓΆhlbrugge asked about email templates:
Here are some recommendations:
maizzle (see the article Stylizing ActionMailers with Maizzle)
π Juraj KostolanskΓ½ shared about configuring Traefik to exclude Cache-Control from some paths:
π Harrison Broadbent shared a code sample about using splat pattern in Rails:
Here is another alternative:
π Ruby Cademy shared a code sample about writing beautiful code:
π Alexis Bernard shared about the importance of naming:
π Rob Zolkos shared a code sample about setting solid_queue as the default adaptor for the built in Rails jobs:
π Mika Henriksson shared a thread and a short demo about using turbo_boost-elements gem:
Here is an example shared by Nate:
And a video showing the TurboBoost Elements with devtools enabled:
π Jason Swett shared about their progress of building Saturn CI:
π Naofumi Kagami ε γ ηΎη΄ε² shared about naming variables to include their type:
π Uchio Kondo shared a code sample about drawing eBPF lottery:
π γγΌ β»οΈ ζ₯η§ shared about Rails adopting whatβs new:
π Greg Navis shared about NOT NULL constraints:
π Joe Masilotti shared they signed a book deal with Pragmatic Bookshelf:
π Guillaume shared a short video showing InstantClick working on Turbo 8. You can explore the repository at modern-datatables: They are many ways to build reactive web interfaces but do we really need to add the complexity of JavaScript frameworks like Vue.js or React?
π Vinicius Stock shared about the progress of Ruby LSP:
π Marco Roth shared they are working on a similar feature for Stimulus LSP:
π Dorian shared about calling model generators in Rails see the `Rails::Generators::GeneratedAttribute#to_s` by dorianmariecom Β· Pull Request #51112 Β· rails/rails
π Avi Flombaum shared a short video demo about building all combinations for alert/toast demo with Rails and Turbo. See the demo and the source code
π Avi Flombaum shared about configuring Tailwind IntelliSense extension to work with Rails:
π Hans Schnedlitz shared a code sample about testing for file sizes:
π Mika Henriksson shared a code sample about rendering Active Storage images:
π Dave Thomas shared about moving files around:
π§° Gems, Libraries, Tools and Updates
π§° Avo announced a new version of their Avo. Watch the release video
π π§° David Heinemeier Hansson and Kevin McConnell released a new gem campfire-bot-kit
π π§°Stephann V. announced a new gem phlex-slotable: Enable Slot API for Phlex views
π§° Tim Riley announced a new release candidate for Hanami 2.1.0.rc3
π π§° Andrey Novikov published a new gem sidekiq-fair_tenant - Sidekiq middleware to re-route βgreedyβ clientsβ jobs to slower queues
π§° Bozhidar Batsov (A.K.A. Bug) announced a new PR that was merged to Rubocop about Use .config to store your project configs
π§° Brooke Kuhlmann published a new version for Hanamismith | Alchemists
π§° Truffle Ruby shared Adopt Prism/YARP as the parser in TruffleRuby Β· Issue #3117 Β· oracle/truffleruby
π§°Stan Lo shared a PR for irb gem about Revamp `help` command by st0012 Β· Pull Request #877 Β· ruby/irb
π§° Dave Kimura shared a new version about release 0.3.3 - mission_control-servers
π π§° Scott Watermasysk shared they discovered a new gem benpickles/screamshot: A synchronous HTTP screenshot service for headless Chrome
π§° Mika Henriksson announced a new CVE for sidekiq-unique-jobs UI server vulnerable to XSS & RCE in Redis, if you are using the sidekiq-unique-jobs less than 7.1.33 or 8.0.9 please upgrade:
π π§° Alexis Bernard shared one of their gem active_hashcash: ActiveHashcash protects your rails application against DoS and bots.
π§° Jeremy Evans announced a new version of Forme 2.5.0 Released Β· jeremyevans forme Β· Discussion #121
π§° Nate Hopkins announced a new version of Switch to idiomorph by hopsoft Β· Pull Request #55 Β· hopsoft/turbo_boost-streams
π π§° Samuel Williams announced a new version of GitHub - socketry/async-job
π§° Yuichiro Kaneko announced a new version of Release v0.6.3 Β· ruby/lrama
π§° Kevin Newton announced a new version of Release v0.24.0 Β· ruby/prism
π§° Rob Zolkos shared a Rails PR about Generate devcontainer files by default by andrewn617 Β· Pull Request #50914 Β· rails/rails
π§° Kevin Newton share a PR for Packwerk about Use prism parser via translator by exterm Β· Pull Request #388 Β· Shopify/packwerk
π€ Related (but not Ruby-specific)
π€ Ro Rvs Wild shared a very nice visual explanation about multi-column index order (there are some beautiful diagrams there):
π Stephen Margheim shared about optimizations:
π€ Jason Swett shared
π€ Len Woodward shared
π€ Sam Johnson shared
π€ Prabin Poudel shared
π€ Radoslav Stankov shared
π€ Bhumi shared
More content: π π π§ π₯ βπΎ
π Newsletters
π Vipul A M published a new edition about Rails World CFP, ActiveRecord::Base.with_connection, devcontainer and puma-dev support and more!
π Ruby LibHunt published a new edition about Awesome Ruby Newsletter - Issue 404, Feb 15, 2024
π Hotwire Weekly published a new edition about Week 07 - Turbo View Transitions, Hotwire Livestreams, and more!
π Ruby Weekly published a new edition about Now Ruby's on the Nintendo Wii
π§ Podcasts
π§ K.O.O published a new podcast about Enhance your Rails app with SQLite with Stephen Margheim
π§ Christine shared a podcast about Stray Pointers: A Chat with Software Engineer and International Speaker Christine Seeman
π§ The Rails Changelog published a new episode about The Rails Changelog | 020: Andy Croll & Ufuk Kayserilioglu Uncover RailsConf 2024 Details
π§ Maintainable Software Podcast published a new podcast about John Nunemaker-How Scary Is This Change?
π§ RemoteRuby published a new episode about Exploring Dependabot-Unraveling Rails LSP-Vim Customization
π§ Rubber Duck Dev Show published a new episode about Building a 2 Terabyte Database For My Postgres Course
π½οΈ π₯ Videos
Screencasts
π₯ Stephen Margheim published a 4 videos about Turbolist Rails build β part 1: the Superlist walkthrough, Turbolist Rails build β part 2: scaffolding the Turbolist Rails app, Turbolist Rails build β part 3: the Details view, Turbolist Rails build β part 4: fleshing out Tasks
π₯ Yaroslav Shmarov published a new video about Rails #159 Access localhost anywhere with Ngrok
π₯ Md Romi published a new video about UrlShortener
π₯ Sam Johnson published a new video about Building an Emoji Todo
π₯ Roland Lopez published a new video about Turbo Drive: Ruby on Rails Performance Tricks tutorial using lazy load
π₯ Jeffrey Chupp published a new video about Beyond the LSP with ruby-lsp and Neovim - Custom Methods!
π₯ Dean De Hart published a new video about Kamal - Deploy Rails Apps with this New Gem
π₯ Drifting Ruby published a new video about Episode 443 - Reloadable Fixtures | Drifting Ruby
βπΎ Articles
Whatβs new π
βοΈ Igor Alexandrov published a new article about Traefik Tunning for Rails Applications (part 1)
Chris Sinjakli published an article about Ruby 3.3 Highlights
Joshua Wood published an article about Visualizing Ahoy analytics in Rails
Alkesh Ghorpade published an article about Rubo Cop Comes Built In With Rails 8.0
Apoorv Tiwari published an article about What Is New In Ruby 3.3
Rupert Maspero published a new article about Top 5 Active Record Tips to Make Your Code More Efficient
Peter Solnica published a new article about 2024 Status update
Yedhin Kizhakkethara published an article about Rails 8 Introduces A Built In Rate Limiting API
Prasanth Chaduvula published an article about Rails 7.1 Allows Resetting Singular Associations
Sergey Tsvetkov published an article about Tuning Rails application structure
Deep Dives π
Aaron Patterson published an article about Using Serial Ports With Ruby | Tenderlove Making
Igor Alexandrov published a new article about Evolution of GitHub Action for Kamal
Akshay Khot published an article about Anonymous Block Forwarding In Ruby
Greg Navis published an article about Presence, Null, And Product Requirements In Rails
How-TOs π
Etienne Van Delden De La Haije published a new article about Import JS files from a Gem, `using importmap-rails`
Julian Rubisch published a new article about Full-Text Search for Ruby on Rails with Litesearch
David Boureau published an article about Authentication Vs Authorization With Rails 7
Lukasz Reszke published a new article about Upcasting events in RailsEventStore
RΓ©my Hannequin published an article about Get Consistent Data From Your Llm With Json Schema
Mike Ray Arriaga published a new article about Using Custom Turbo Actions with StimulusJS
Josef Strzibny published a new article about How to use private SSH keys with passwords in GitHub Actions
Related
Sylvain Kerkour published an article about Optimizing SQLite for servers
Reply