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
Please open Telegram to view this post
VIEW IN TELEGRAM
As a novice or professional Ruby on Rails developer, you're likely familiar with the concepts of Concerns and Modules. Both are used to organize and reuse code but have different purposes and distinct use cases.
Please open Telegram to view this post
VIEW IN TELEGRAM
β‘οΈ Running Solid Queue in production Rails apps
Say goodbye to the complexities and costs of managing external services like Redis, and hello to Solid Queue. In this article, we'll explore using Solid Queue to process background jobs, from integration to deployment, and even monitoring!
Say goodbye to the complexities and costs of managing external services like Redis, and hello to Solid Queue. In this article, we'll explore using Solid Queue to process background jobs, from integration to deployment, and even monitoring!
πBalticRuby 2024
This is a community-driven conference traveling across the Baltic Sea promoting the growth of local communities and the global Ruby/Rails ecosystem.
Here are the highlights of why it's worth attending.
π Speakers from more than 10 countries, representing both local and global communities, include Yukihiro Matz Matsumoto, Sam Giddins, Cristian Planas, Erica Weistrand, Tobias Pfeiffer, JΔnis BaiΕΎa, Stephen Margheim, and more!
π There will be also an OSS expo along the main track. Folks from Rails Core and Ruby Central are joining, as well as maintainers and contributors from Active Record, ViewComponent, Hotwire, and more.
π A bootcamp for juniors, prepared by Steven R. Baker - the creator of rSpec - along with MalmoRB community
All the details are here: https://balticruby.org/
And specially for all the members here BalticRuby prepared a hot offer.
π Grab your "Personal" ticket with a 30% discount now: https://pretix.eu/balticruby/tickets/redeem?voucher=Z75R6UMXVKDX8PMC
π« Or get a progressive discounts up to 30% for "Employee" tickets for companies: https://pretix.eu/balticruby/tickets/
ποΈ All the attendees can enjoy a 20% discount on accommodation at the nearby Malmo Arena Hotel.
Get your ticket and sea ya on the Baltic shore π
This is a community-driven conference traveling across the Baltic Sea promoting the growth of local communities and the global Ruby/Rails ecosystem.
Here are the highlights of why it's worth attending.
π Speakers from more than 10 countries, representing both local and global communities, include Yukihiro Matz Matsumoto, Sam Giddins, Cristian Planas, Erica Weistrand, Tobias Pfeiffer, JΔnis BaiΕΎa, Stephen Margheim, and more!
π There will be also an OSS expo along the main track. Folks from Rails Core and Ruby Central are joining, as well as maintainers and contributors from Active Record, ViewComponent, Hotwire, and more.
π A bootcamp for juniors, prepared by Steven R. Baker - the creator of rSpec - along with MalmoRB community
All the details are here: https://balticruby.org/
And specially for all the members here BalticRuby prepared a hot offer.
π Grab your "Personal" ticket with a 30% discount now: https://pretix.eu/balticruby/tickets/redeem?voucher=Z75R6UMXVKDX8PMC
π« Or get a progressive discounts up to 30% for "Employee" tickets for companies: https://pretix.eu/balticruby/tickets/
ποΈ All the attendees can enjoy a 20% discount on accommodation at the nearby Malmo Arena Hotel.
Get your ticket and sea ya on the Baltic shore π