Re: [Rails] Devise - Check for Subdomain on Account Table

2015-06-15 Thread Leandro França
I forgot to add that both account and user models are on public schema, outside of tenants. 2015-06-15 12:49 GMT-03:00 Leandro França : > Hi there, > > I"m building a multitenant app using apartment and devise, using > postgresql schemas and subdomain auth. > > I just added subdomain , followin

[Rails] Devise - Check for Subdomain on Account Table

2015-06-15 Thread Leandro França
Hi there, I"m building a multitenant app using apartment and devise, using postgresql schemas and subdomain auth. I just added subdomain , following this: https://github.com/plataformatec/devise/wiki/How-to:-Scope-login-to-subdomain Everything is working, but this model requires that I have a