Archivo de la etiqueta: phoenix

Experimenting with inherited tables in Ecto

I’ve been working on a personal project with some mates for the past few months, and I’ve been mostly responsible for building our backend with Phoenix. It’s come to a time where we need to implement some sort of "comments … Sigue leyendo

Publicado en Elixir | Etiquetado , , , , | Comentarios desactivados en Experimenting with inherited tables in Ecto

Phoenix 1.3 is pure love for API development

Phoenix 1.3-rc.0 was just released, and while it’s still not a final release, it already feels solid as h*ck. I’ve been doing a personal project on the side for a while now, and it has a web API component, which … Sigue leyendo

Publicado en Elixir | Etiquetado , , , | Comentarios desactivados en Phoenix 1.3 is pure love for API development

Filtering has_many relationships in Ecto

This is sot-of a follow up to my last post, about self-referencing many_to_many relationships using Ecto. I find myself in a scenario where I have a User: # User model defmodule MyApp.User do use MyApp.Web, :model alias MyApp.Contact schema “users” … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , , | Dejar un comentario