does phoenix framework employ types of callback filter such found in rails? know possible validate changesets, looking ways implement actions such before_create
, before_save
, after_commit
.
ecto does: https://hexdocs.pm/ecto/#!ecto.model.callbacks.html
they sightly different rails ones: receive , must return changesets , must used data consistency (don't use them send e-mails , not).