1. 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!
    Time An icon of a clock Publish Date
    October 25, 2022
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Rails
  2. 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.
    Time An icon of a clock Publish Date
    August 30, 2022
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Rails
  3. 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.
    Time An icon of a clock Publish Date
    September 9, 2021
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Rails
  4. 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.
    Time An icon of a clock Publish Date
    May 11, 2021
    Person An icon of a human figure Authors
    Ali Ibrahim
    Category An icon of a paper organzier Categories
    Ruby
    Rails
    Upgrades
  5. 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.
    Time An icon of a clock Publish Date
    March 26, 2021
    Person An icon of a human figure Authors
    Ali Ibrahim
    Category An icon of a paper organzier Categories
    Ruby
    Rails
  6. 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.
    Time An icon of a clock Publish Date
    February 11, 2021
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Rails
  7. 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.
    Time An icon of a clock Publish Date
    December 15, 2020
    Person An icon of a human figure Authors
    Cliff Pruitt
    Category An icon of a paper organzier Categories
    Rails
    Upgrades

Search An icon of a magnifying glass Search the Blog