1. 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
  2. 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
  3. Benchmarking your Ruby with time_up

    time_up is a new Ruby gem for managing timers to measure your code's performance.
    Time An icon of a clock Publish Date
    July 19, 2021
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Ruby

Search An icon of a magnifying glass Search the Blog