Corys

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. :grinning:

http://www.schmitty.me/multi-tenancy-in-phoenix/

Most Liked

marciol

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.

OvermindDL1

OvermindDL1

Now wha? PostgreSQL finally added RSL? I’ve been wanting that for years! Whoo hoo! I like its implementation!

andre1sk

andre1sk

It’s in since 9.5

Where Next?

Popular in Screencasts Top

omgneering
This is a part of the ongoing elixir OTP series. The video walks through creating an application, talks about application structure and ...
New
hays
Hello, I had a great time digging into Ecto and creating this intro screencast: Ecto 2.0: The Database Tool for Elixir and Phoenix Th...
New
calebjosue
I’ve made a video about installing Elixir 1.16.1 on WIndows 11. In case someone is interested here’s the link The video de...
New
ElixirCasts
I did an episode on Phoenix contexts. This is a good episode for anyone new to Phoenix or wanting to see how contexts work. https://elix...
New
hubertlepicki
So I just recorded this one where I build simple command-line tool in Elixir using TDD with ExUnit. Hope you like it :slight_smile:
New
omgneering
I made the next video in the OTP series to help get started with Supervisor methods and syntax. The video goes over the init methods lik...
New
sevensidedmarble
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
sjm
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
CinderellaMan
Hello, I’m not sure where this should / could be posted, but I’ve put a lot of effort and just released my first video about streaming c...
New
alvises
Hey friends, I’ve just published a screencast + article on how to use AWS S3 in Elixir with ExAws. I show how to put, get, list and del...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
josevalim
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
9mm
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
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New

We're in Beta

About us Mission Statement