Audit Logging in Phoenix Without Leaking Passwords
The traps in a naive Ecto audit log, how to do it in a transaction, and how Postgres triggers catch the update_all calls your wrappers miss.
Tag archive
The traps in a naive Ecto audit log, how to do it in a transaction, and how Postgres triggers catch the update_all calls your wrappers miss.
Why database factories like ExMachina become hard to maintain as association graphs grow, and why I moved test setup to business operations.
Descubra o impacto de trocar UUIDs de 128 bits por Snowflake IDs em Elixir e Ecto, otimizando índices B-Tree e resolvendo o MAX_SAFE_INTEGER no JS.

When a newcomer starts with Elixir and Phoenix, they are almost always introduced to Ecto first. You...

Throughout my years of web development with Elixir and Phoenix, I have often struggled with how to...

Introduction During my journey learning Elixir, I discovered Ecto, a powerful database...

Introdução ao Ecto com Elixir: Configuração e Operações Básicas Durante minha jornada de...
Duration: a useful time interval representation Duration is covered by ISO 8601 standard...
Simplifying Ecto Fragments with Defrag: A Better Way to Write Database Queries Working...
I had a sharing session for Elixir community in Saigon about how to using Ecto without db for...

Let's take advantage of Ecto.Enum and Ecto.Type. The schema: defmodule Blog.Category do use...

The typical changeset in Ecto is created via the cast/4function. cast(data, params, permitted,...