Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

How do I migrate apartment gem to Heroku correctly?

4
Rails

I've implemented the apartment gem and am able to run it in my local environment. However, when I deployed to Heroku, the site won't load and I get this error in the logs Apartment::TenantNotFound (One of the following schema(s) is invalid: "immense-atoll-80386" "public"):

Has anyone run into this before? Any ideas on what I am missing

I am getting same issue.

will check it out thanks!

You have to add your "immense-atoll-80386" in Apartment::Elevators::Subdomain.excluded_subdomains = ['www', 'immense-atoll-80386'] in apartment.rb configuration.

This worked for me.

Join the discussion
Create an account Log in