Rails
-
The problem with eating paste
Thinking about installing react-rails? Consider this cautionary tale before you do. -
Smoother, responsive Rails forms with Tailwind
Rails forms give us magic. Tailwind is really fun. Sometimes they don't play together nicely, but the results give you smoother, responsive forms. -
Building passwordless email auth in Rails
Adding authentication to your Rails app but don't want to store passwords or rely on third-party OAuth? Let's build a passwordless login system that emails users magic links! -
Stateless forms with the Rails Attributes API
Building a form in Rails that ISN'T driven by an ActiveRecord model? Here's how to use the Attributes API to get all the convenience with none of the complexity. -
How environment variables make your Ruby test suite flaky
Environment variables can help manage config in any application. But they can also make Ruby test suites flaky. Learn why this happens and how to fix it. -
How to build a search engine with Ruby on Rails
Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres. -
Working strategically through Rails upgrades
With tools that let us dual boot multiple versions of Rails on the same branch, we can now do Rails upgrades alongside everyday development. But what do we do when we come across a change in Rails that ripples across our application? Take a minute to survey the options in this blog post. -
Using CockroachDB with Rails
CockroachDB is a scalable, highly available database, and you can use it in your Rails apps today. In this guide, we'll walk you through the steps to using CockroachDB with Rails. -
There's no such thing as a free gem
If you had to connect your app to an OAuth provider, when would you rely on a library and when would you code it yourself? Could you explain your reasoning? Using OAuth log in to Twitter in Ruby on Rails as an example, let's walk through the decision to roll our own implementation and how to build it ourselves with working code samples. -
Adding Disallowed Deprecations to Rails 6.1
Eliminating deprecation warnings is an important part of the Rails upgrade process. Disallowed Deprecations in Rails 6.1 provides a way to ensure deprecations don't get reintroduced once they've been removed from your codebase.