Corys
Multi Tenancy in Phoenix
I got a new video up on doing multi tenancy in phoenix 1.3 using Apartmentex.
Lemme know if any questions. 
Most Liked
marciol
Hi @Corys, great post. I have been working with this kind of approach for some time, but after read a blog post by Influitive, the creators of gem Apartment, which inspired the Apartmentex Hex Package, I started to think if this is the best approach.
After some research I found a new feature in postgreSQL that could be an alternative, Row Security Level, and a great post by 2ndQuadrant
Let us know what do you think.
1
OvermindDL1
Now wha? PostgreSQL finally added RSL? I’ve been wanting that for years! Whoo hoo! I like its implementation!
1
andre1sk
It’s in since 9.5
1
Popular in Screencasts
Since static typing is all the rage in Elixir right now, maybe some of you will appreciate my most recent video. It’s all about how to ge...
New
This is a part of the ongoing elixir OTP series. The video walks through creating an application, talks about application structure and ...
New
New video alert! I made a video about the LiveView lifecycle, navigation, and how to use handle_params vs mount., etc.
Check it out:
...
New
This video is about the step by step guide to build packages with clear explanation of package files and registration procees to hex.pm
...
New
I made an episode where we use escript to make a Rock-Paper-Scissors we can play from the command line.
https://elixircasts.io/command-l...
New
Not sure if this is still going but adding it for completeness.
Who Is This For?
You’re a programmer. You’ve heard of Elixir and ...
New
I created a tutorial for implementing a toggle button in LiveView.
It’s been done against Phoenix 1.7 to future-proof it, ...
New
New video dropped: this time on manually running your own asset build script with Bun. Bun is used as the script runner with ESBuild stil...
New
I made a few episodes about using Phoenix LiveView.
https://elixircasts.io/phoenix-live-view
New
Hello Everyone, i hope you are doing fine!
I would like to draw your attention to the Elixir Mentor YouTube channel by Jacob Luetzow.
T...
New
Other popular topics
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
I would like to know what is the best IDE for elixir development?
New
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Hey all,
I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New







