1. 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
  2. How to fake time in a Postgres database

    Mocking or freezing time when testing your application? Ruby and JavaScript make it easy … until your database is involved. Here's a way to time travel in Postgres!
    Time An icon of a clock Publish Date
    April 19, 2022
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Testing
  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

Search An icon of a magnifying glass Search the Blog