HotwireCombobox: A Turbo + Stimulus Autocompleting Combobox β Simple, sweet, and well explained on the homepage, complete with live demo. Designed for modern Rails 7 apps. GitHub demo.
Let's take a look at a use case for dry-monads and how to use them
https://dev.to/mengjia/ruby-dry-monads-e14
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Ruby dry-monads
π€ What is the use case for dry-monads? π return either Success or Failure from some operation From...
Two new guides are now open for community review. If you are well versed in Action View, partials, and helpers, please review and submit your feedback here:
Action View Overview PR
Action View Helpers PR
Add
config.active_record.permanent_connection_checkout
setting This setting determines the action taken when ActiveRecord::Base.connection is accessed: whether it raises an error, emits a deprecation warning, or does nothing.Please open Telegram to view this post
VIEW IN TELEGRAM
Developing web applications with Ruby on Rails is known to be hellishly productive. Whatβs the price of this deal? Letβs talk about design patterns leveraged by the framework responsible for increased productivity and at the same time often acclaimed for being anti-patterns.
Please open Telegram to view this post
VIEW IN TELEGRAM
A comparison of Data.define, Struct, OpenStruct β all ways to conveniently define data objects.
Please open Telegram to view this post
VIEW IN TELEGRAM
Release Notes:
Signed streams and public streams. One secret to rule them all. Public mode.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Grape is a popular Ruby framework for building RESTful APIs. Exception handling plays a crucial role in ensuring the stability and reliability of any application, including those made with Grape.
This article will explore the basics of Grape exception handling, including customizing exceptions. We'll also touch on some best practices, and how to integrate your app with AppSignal for enhanced error monitoring and management.
Please open Telegram to view this post
VIEW IN TELEGRAM
Rails 8 is going to be such a leap forward in production deployment ease. Kamal 2 will get auto-configuring SSL via Let's Encrypt + multi apps on a single host. Thruster will give Puma HTTP/2, X-Sendfile, and asset caching. Both will be included by default.
Please open Telegram to view this post
VIEW IN TELEGRAM
This edition of Hotwire Weekly covers the latest articles, tutorials, videos, libraries, tools, and releases in the Hotwire ecosystem.
Happy reading! πβ¨
Please open Telegram to view this post
VIEW IN TELEGRAM
In this episode, I explore Basecamp's Kamal codebase. Since this is the first video on the channel, I try to explain why I decided to start it, what motivates me, and what I plan to record in the future.
Please open Telegram to view this post
VIEW IN TELEGRAM
Make your instance variables, methods, and aliases instantly accessible in the Rails Console
Please open Telegram to view this post
VIEW IN TELEGRAM
In this episode, explore the Maybe finance codebase. The original version of Maybe was written in React and then open-sourced. In February 2024, Josh Pigford started to rewrite it in Rails. What is done within two months, what can be improved, what tools and libraries are used β all these in this video.
Please open Telegram to view this post
VIEW IN TELEGRAM
Take advantage of the Rails 6 destroy_by method to conditionally destroy multiple records
Please open Telegram to view this post
VIEW IN TELEGRAM
In modern web applications, real-time communication has become more than a feature: it's gradually evolved into a necessity. Users expect instant updates, live interactions, and dynamic content.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hereβs how these three approaches compare and contrast with each other. While writing this I learned about a few techniques that I canβt wait to try in the future - hopefully you will, too.
Please open Telegram to view this post
VIEW IN TELEGRAM
Masilotti.com
Rails Authentication: Gems vs. Recipes vs. Generators | Masilotti.com
Three different ways to handle authentication in Rails: from quick gem installs to custom-built recipes and flexible generators.
This is good. With Ruby Central focusing their efforts on general-purpose Ruby endeavors, like maintaining Bundler and RubyGems, as well as putting on RubyConf, the division of responsibilities between it and The Rails Foundation is now clear.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hey
The last RailsConf
Few numbers exemplified the early growth of Rails like attendance at RailsConf. I think we started with something like 400-600 attendees at the inaugural conference in Chicago in 2006, then just kept doubling year over year, as Rails went to the moon. Ifβ¦
In this episode we will store the stream mode value against the user in a jsonb options column in the database. This will happen when the user toggles stream mode so that it is persisted between page refreshes.
Please open Telegram to view this post
VIEW IN TELEGRAM
Make your Rails website behave like an installable app by turning it into a PWA.
All new Rails apps will have a webmanifest by default, meaning your app will be a Progressive Web App out of the box!
In this episode we will explore how PWAs work.
Please open Telegram to view this post
VIEW IN TELEGRAM