Contributions
Tutorial
In this tutorial, we will create a Ruby binstub that allows you to encrypt and decrypt files using Active Support’s EncryptedFile module. This script is particularly useful for those who need to protect sensitive information within their files.
Library
Keep your private notes in plain sight.
Tutorial
In this tutorial, you’ll learn how to write a test that clicks a link in a Rails mailer. This is particularly useful when testing emails with links that require unique tokens or may expire, such as password reset emails. We’ll cover the steps to create a helper method that uses Capybara to find and click the link in the email, allowing you to fully test the functionality of a password reset email.
Library
Art Vandelay is an importer/exporter for Rails 6.0 and higher.
Article
Time dependent tests are difficult to diagnose, and the symptoms don’t present themselves until it’s too late. This article will help you determine if your test suite is time dependent.
Article
Your team’s manual deployment process doesn’t have to be so manual. Here’s how we automated our team’s deployment process with a few lines of bash and basic Git knowledge.
Article
You probably use some type of error monitoring software to notify you when an exception is raised in your application, but are you being notified when there is an anomaly in user behavior?
Article
Learn how to query and group records by duration using Active Record.
Tutorial
Learn how to track user events without sacrificing privacy and performance.
Library
An authentication generator for Rails 7. Generate all the files needed to create a feature rich authentication system that you control. No configuration needed.
Tutorial
Rails ships with a setup script that automates bootstrapping a new application, but did you know that you're free to edit this script? In this quick tutorial, I'll show you how you can improve the default Rails setup script to create a more consistent and helpful onboarding experience for folks on your team.
Tutorial
Rails gives you all the tools you need to roll your own authentication system from scratch without needing to depend on a gem. The challenge is just knowing how to account for edge cases while being cognizant of security and best practices.
Tutorial
Do you need to create real-time features in your Rails app, but either can't use Turbo or don't want to use a front end framework like React? Fortunately older versions of Rails actually provide this functionality of the box. In this tutorial I'll show you how to create a single page app in Rails from scratch using remote elements and Stimulus.
Article
Are certain pages on your Rails app loading slowly? You might want to consider loading those requests in the background. It's easier than you think. In this tutorial, I'll show you how to lazy load content in Rails without Hotwire.
Tutorial
In this tutorial, we'll build a full-featured API in Rails with authentication.
Library
Automatically unsubscribe from emails in Rails.