I want to use ULIDs (GitHub - ulid/spec: The canonical spec for ulid) as a primary key option. Does anything speak against adding this directly to ActiveRecord? I understand that currently, only UUID and Integers are implemented.
You can use create_table :sites, id: :string do |t| in the migration when creating the table and then set the id to the ULID in a before_create callback.