You learn something new everyday! Of course it’s in the documentation, but it’s easy to overlook features.
Background
As you may or may not know, ActiveRecord lets you specify conditions in a multitude of ways. Take the first example from the docs:
class User < ActiveRecord::Base
def