Tutorials
We just released v0.16.5 of the Ruby LSP with the first iteration of method support for go to definition!
We just released v0.16.5 of the Ruby LSP with the first iteration of method support for go to definition!We will continue iterating to handle more method types and improve accuracy as much as possible. Please let us know if you have feedback and h...
Backup strategies for SQLite in production – Oldmoe's blog
Introduction If you are relying on SQLite as your production database, then it makes sense to have some sort of a backup strategy. Those backups would come handy in a multitude of situations. For example, if you face a catastrophic hardware failur...
Fixing a footgun in ActiveRecord::Core inspect | Rails at Scale
The inspect method on Active Record models returns a string including the model’s class and a list of all its attributes and their values. In Rails 7.2, you can configure which attributes are included in the output of inspect. In this post, I’ll d...
How to Route an Incoming URL to a Rack Application in Rails
The Rails router can dispatch an HTTP request to a Rack endpoint, either in your application or within a gem. This is useful when you want to provide a well-isolated web UI or front-end to the users of your gem. In this post, we'll learn why you m...
authenticate_by: Prevent timing-based enumeration of users.
With the introduction of authenticate_by in Rails 7.1, we can now prevent enumeration attacks based on response timesAn enumeration attack based on response times is what I showed above. An attacker will be able to test emails by brute force and w...
Maple Ong - Lessons From A Rails Infrastructure Team - YouTube
Ruby on Rails is growing! As a Rails company grows, the application too becomes larger as more engineers work on it at the same time. There is an increasing need for companies to build out a "Rails Infrastructure" team. The team’s primary goal is ...
Hands-off eclipse photography with ruby and gphoto | Rubber Ducky
For the 2024 eclipse, my wife and I decided to make the trip from Stockholm to Texas to get a chance to witness it. Being a photographer, I also wanted to try my hand at shooting the event.At the same time, I knew that totality would only last for...