mbuhot
Clean up your seeds with Generators and AshOps
Hey everyone, here’s a blog post I just published about improving seed data management in Elixir projects. In the post, I cover using Ash’s generators to create the seed data and AshOps to expose seed commands as mix tasks.
Popular in Blog Posts
I’m closing out, for now, my series on questions at the heart of development with an analysis of when we need more abstraction. For exam...
New
Hey all, it’s Erlang Solutions.
We released loads of Elixir content from our senior developers last week in celebration of ElixirConf US...
New
https://medium.com/@jpiepkow/team-based-login-with-accesspass-be236d4bd7dd
New
https://furlough.merecomplexities.com/elixir/otp/tdd/2021/03/18/test-driving-otp-creating-a-registry-with-expiring-entries.html
Followin...
New
I talk about how I really like to use runtime configuration and discuss some common pitfalls of configuration in Elixir.
New
The desire to produce structured logs is common. In this article, I will survey the major approaches one could take to achieve this goal ...
New
I think <span class="hashtag-icon-placeholder"></span>liveview is going to be a big topic in the foreseeable future, so wondering whether...
New
This post explores different ways to do test automation in Elixir, focusing on how to handle dependency injection — covering patterns, li...
New
In this article, we discuss how to create a Docker image for a Phoenix application.
New
There are 3 main formatters for Erlang which you can use from the command-line,
rebar3_format,
Steamroller
elmfmt.
Visual Studio Cod...
New
Other popular topics
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
Using vs code and installed ElixirLS: support and debugger.
And I got an error popped up on start up says
Failed to run ‘elixir’ comma...
New
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New







