docs: Make sure there is a caret in front of each atomic_ref occurence (#1403)

This commit is contained in:
Andreas Donig 2024-08-22 20:27:47 +02:00 committed by GitHub
parent 986d6e6467
commit bc400929fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ whenever `name` is changing.
```elixir ```elixir
changes do changes do
change atomic_update(:slug, expr(fragment("slugify(?)", atomic_ref(:name)))), where: changing(:name), on: [:update] change atomic_update(:slug, expr(fragment("slugify(?)", ^atomic_ref(:name)))), where: changing(:name), on: [:update]
end end
``` ```