Beginning in Ecto 3.5, Ecto added Ecto.Enum as a new field type to use with schemas. This allows you to cast values to a known list of accepted values and have the values be atoms. However, using Ecto.Enum in a schemaless changeset isn't obvious.
Uploading a custom theme repetitively to Ghost on every new change can be tiresome. If you're using use Drone CI build your theme already, supercharge your workflow by automating the deployment of your theme using a Drone plugin.
So you've decided to build an app with Elixir and Phoenix and want to create a landing page to capture email address and gauge interest. With SendGrid, it's easy to save emails to a marketing list that you can utilize later for when you're ready to launch.
A common feature many web applications need is the ability to take a file and upload it to Amazon S3. Luckily for us ex_aws along with Phoenix makes it very simple to add S3 uploads. I'll show you how to start uploading files with just a few lines of
SendGrid is an email service that allows you to send both transactional email and newsletter email from a single platform along with many other niceties. Setting up your Elixir projects to take advantage of platform is quite easy with my sendgrid library. Add The Dependency Add the :sendgrid dependency to
Exometer is a great tool for collecting metrics within the Erlang ecosystem. It allows you to easily capture metrics in your application and push those metrics to an aggregator for you to view with pretty graphs. Recently Pinterest released Elixometer, a thin wrapper around Exometer, to make collecting metrics easier
By default when creating a new Phoenix app, a seed.exs file is automatically created for you in the priv/repo/ directory. Additionally, the mix.exs file has an alias for seeding your database that looks like this: defp aliases do [ "setup": ["ecto.create", "ecto.
With React Router and Meteor, it's very easy to create applications that have views that require an authenticated user. Meteor has helpful methods built in to check if the user is authenticated and the lifecycle of React components will help us manage what should be rendered. These two aspects together