I would imagine this is console/iex work - that can seem a bit tedious (at first) in iex compared to rails (imho)
one trick is to have an .iex.exs file in your project root IEx — IEx v1.20.2
say for this example you had the following in it:
import Ecto.Changeset
alias MyApp.Repo
alias MyApp.User
then you can do:
Repo.get_by(User, email: "foobar@email.com")
|> change(%{email: "hello@email.com"})
|> Repo.update()
and you are not that many characters away from the OO rails way.. but again not for production code..






















