Joan Lledó

Results 38 comments of Joan Lledó

Forgot to mention: I tried this branch locally and the error is fixed for me.

I rebased this, It was too old.

> How did you conclude that code checkd `tenant_id` never changed? Maybe I'm wrong because I don't understand the code. I guessed that from this code: https://github.com/3scale/porta/blob/46b2f9be02c9123d066814126d1f0194e9eb47ae/lib/three_scale/middleware/multitenant.rb#L56-L72 If `:tenant_id` it's...

> The purpose is to make sure that a user only sees objects from its own tenant. The implementation seems to be that first initialized object with a `tenant_id` would...

> > But there are models that doesn't have a tenant_id attribute, e.g. UserSession. What happens when one of those is loaded? fresh.send(attribute) will fail, doesn't it raise an exception?...

> But this is a very quick glance over it. If you see any indication that would be possible, let me know. > I assumed one could tweak puma to...

I would add - Enable `dotenv`: https://github.com/bkeepers/dotenv - Add scripts under `/bin` to launch both listener and worker in a single thread so the process can be attached to a...

Closing this PR. I created https://github.com/3scale/apisonator/pull/391 to make this easier to review: